summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic/DiagnosticOptions.cpp
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2016-10-27 16:32:06 +0000
committerNico Weber <nicolasweber@gmx.de>2016-10-27 16:32:06 +0000
commit44f6f2ee423325e6157846593a74e5ed01ab3062 (patch)
tree7bb39737f18a1789a24d402a2e9e3f4f24109c1d /clang/lib/Basic/DiagnosticOptions.cpp
parent6c273763a366de3b1e22348b638795795fb7e005 (diff)
downloadbcm5719-llvm-44f6f2ee423325e6157846593a74e5ed01ab3062.tar.gz
bcm5719-llvm-44f6f2ee423325e6157846593a74e5ed01ab3062.zip
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 llvm-svn: 285310
Diffstat (limited to 'clang/lib/Basic/DiagnosticOptions.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud