diff options
| author | Jordan Rose <jordan_rose@apple.com> | 2014-05-20 17:31:11 +0000 |
|---|---|---|
| committer | Jordan Rose <jordan_rose@apple.com> | 2014-05-20 17:31:11 +0000 |
| commit | 7afd71e4ff5d13fdea68cd1261a96b19488d39db (patch) | |
| tree | 386aabbe4f8b56b23161b66b32bc5ff0e77b8f92 /clang/test/Sema/inline-redef.c | |
| parent | d2402470ee1b1253f6dc312b22fd967906ae8bd4 (diff) | |
| download | bcm5719-llvm-7afd71e4ff5d13fdea68cd1261a96b19488d39db.tar.gz bcm5719-llvm-7afd71e4ff5d13fdea68cd1261a96b19488d39db.zip | |
Add a check for tautological bitwise comparisons to -Wtautological-compare.
This catches issues like:
if ((x & 8) == 4) { ... }
if ((x | 4) != 3) { ... }
Patch by Anders Rönnholm!
llvm-svn: 209221
Diffstat (limited to 'clang/test/Sema/inline-redef.c')
0 files changed, 0 insertions, 0 deletions

