HomePhabricator

Simplify "!foo || (foo && bar)" as "!foo || bar"

Description

Simplify "!foo || (foo && bar)" as "!foo || bar"

Summary: Backport of core PR10780

Test Plan:

make check

Reviewers: #bitcoin_abc, deadalnix, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

Subscribers: teamcity, schancel

Differential Revision: https://reviews.bitcoinabc.org/D2198

Details

Provenance
practicalswift <practicalswift@users.noreply.github.com>Authored on Jul 9 2017, 11:35
FabienCommitted on Dec 19 2018, 10:53
FabienPushed on Dec 19 2018, 10:53
Reviewer
Restricted Project
Differential Revision
D2198: Simplify "!foo || (foo && bar)" as "!foo || bar"
Parents
rABC67943dd2aac9: [moveonly] Extract HelpRequested to dry up the help options testing
Branches
Unknown
Tags
Unknown

Event Timeline

Fabien committed rABCd4d594674698: Simplify "!foo || (foo && bar)" as "!foo || bar" (authored by practicalswift <practicalswift@users.noreply.github.com>).Dec 19 2018, 10:53