[PATCH] D68912: Adds -Wrange-loop-analysis to -Wall
Mark de Wever via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Oct 12 08:56:06 PDT 2019
Mordante created this revision.
Mordante added reviewers: rsmith, rtrieu, xbolva00.
Mordante added a project: clang.
This makes the range loop warnings part of -Wall.
This 'fixes' https://bugs.llvm.org/show_bug.cgi?id=32823
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D68912
Files:
clang/include/clang/Basic/DiagnosticGroups.td
Index: clang/include/clang/Basic/DiagnosticGroups.td
===================================================================
--- clang/include/clang/Basic/DiagnosticGroups.td
+++ clang/include/clang/Basic/DiagnosticGroups.td
@@ -818,11 +818,11 @@
CharSubscript,
Comment,
DeleteNonVirtualDtor,
- ForLoopAnalysis,
Format,
Implicit,
InfiniteRecursion,
IntInBoolContext,
+ LoopAnalysis,
MismatchedTags,
MissingBraces,
Move,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68912.224749.patch
Type: text/x-patch
Size: 472 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191012/8ddafc0d/attachment.bin>
More information about the cfe-commits
mailing list