]> granicus.if.org Git - clang/commit
[Sema] Add -Wparentheses warnings for '^' in '|' expressions and '&' in '^' expressio...
authorCraig Topper <craig.topper@gmail.com>
Sun, 13 Dec 2015 05:41:41 +0000 (05:41 +0000)
committerCraig Topper <craig.topper@gmail.com>
Sun, 13 Dec 2015 05:41:41 +0000 (05:41 +0000)
commit277287eaa915d298f3ccd59b680a5f54a7ad19a2
tree13ba70dbbe4d89180003be70488f2488374c78d5
parenta3c545040f62bc405dd0fa7cae8bb57726ff533f
[Sema] Add -Wparentheses warnings for '^' in '|' expressions and '&' in '^' expressions to compliment '&' in '|' that is already present. Matches gcc behavior.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@255450 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaExpr.cpp
test/Sema/parentheses.c