HomePhabricator

Expand -Wlogical-not-parentheses to also fire on `!x & A`.

Description

Expand -Wlogical-not-parentheses to also fire on !x & A.

This is a misspelling of the intended !(x & A) negated bit test that happens in
practice every now and then.

I ran this on Chromium and all its dependencies, and it fired 0 times -- no
false or true positives, but it would've caught a bug in an in-progress change
that had to be caught by a Visual Studio warning instead.

https://reviews.llvm.org/D26035

Details

Committed
nicoOct 27 2016, 9:32 AM
Branches
Unknown
Tags
Unknown