summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2016-01-06 20:55:00 +0000
committerNico Weber <nicolasweber@gmx.de>2016-01-06 20:55:00 +0000
commit337b08d8d69c78c2ae11f2ebb9c3495a0ddf986d (patch)
tree1a8f965dff26654450510a4a2b90687cc3aeb1c4
parentd53090ac5e4382f1aaad8ddeff0fce4b43824bad (diff)
downloadbcm5719-llvm-337b08d8d69c78c2ae11f2ebb9c3495a0ddf986d.tar.gz
bcm5719-llvm-337b08d8d69c78c2ae11f2ebb9c3495a0ddf986d.zip
Add -Wfor-loop-analysis to -Wall.
This warning seems to have 0 false positives and some true positives in practice, without a measurable compile time cost. It should be in -Wall, and possibly even become a default warning at some point. llvm-svn: 256975
-rw-r--r--clang/include/clang/Basic/DiagnosticGroups.td1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/include/clang/Basic/DiagnosticGroups.td b/clang/include/clang/Basic/DiagnosticGroups.td
index 8e5f57d6d89..2e4e57b63b8 100644
--- a/clang/include/clang/Basic/DiagnosticGroups.td
+++ b/clang/include/clang/Basic/DiagnosticGroups.td
@@ -616,6 +616,7 @@ def Most : DiagGroup<"most", [
CharSubscript,
Comment,
DeleteNonVirtualDtor,
+ ForLoopAnalysis,
Format,
Implicit,
InfiniteRecursion,
OpenPOWER on IntegriCloud