Add -Wtautological-compare to -Wall
authorWeverything <rtrieu@google.com>
Tue, 12 Nov 2019 21:46:03 +0000 (13:46 -0800)
committerWeverything <rtrieu@google.com>
Tue, 12 Nov 2019 22:36:57 +0000 (14:36 -0800)
commit9740f9f0b6e5d7d5104027aee7edc9c5202dd052
treefc6972729e01f756d72db4621b1c9d07d0ab8bc6
parent166cdc02818fd7a6653f76216b4f64cb4b21619e
Add -Wtautological-compare to -Wall

Some warnings in -Wtautological-compare subgroups are DefaultIgnore.
Adding this group to -Wmost, which is part of -Wall, will aid in their
discoverability.

Differential Revision: https://reviews.llvm.org/D69292
clang/include/clang/Basic/DiagnosticGroups.td
clang/test/Misc/warning-wall.c [new file with mode: 0644]
clang/test/Sema/warn-bitwise-compare.c
clang/test/Sema/warn-overlap.c
clang/test/SemaCXX/warn-bitwise-compare.cpp