[PATCH] D69292: Proposal to add -Wtautological-compare to -Wall
Richard Trieu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 21 19:45:42 PDT 2019
rtrieu created this revision.
Per https://reviews.llvm.org/D66046, patch to move -Wtautological-compare to -Wmost, which also adds it to -Wall. Some warnings in -Wtautological-compare and its diagnostic sub-groups are DefaultIgnore, so making them visible in -Wall will make them more discoverable overall.
https://reviews.llvm.org/D69292
Files:
include/clang/Basic/DiagnosticGroups.td
Index: include/clang/Basic/DiagnosticGroups.td
===================================================================
--- include/clang/Basic/DiagnosticGroups.td
+++ include/clang/Basic/DiagnosticGroups.td
@@ -842,6 +842,7 @@
SizeofArrayArgument,
SizeofArrayDecay,
StringPlusInt,
+ TautologicalCompare,
Trigraphs,
Uninitialized,
UnknownPragmas,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69292.225986.patch
Type: text/x-patch
Size: 375 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191022/f9fd52e5/attachment.bin>
More information about the cfe-commits
mailing list