diff options
author | Nico Weber <nicolasweber@gmx.de> | 2016-01-06 20:55:00 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2016-01-06 20:55:00 +0000 |
commit | 337b08d8d69c78c2ae11f2ebb9c3495a0ddf986d (patch) | |
tree | 1a8f965dff26654450510a4a2b90687cc3aeb1c4 | |
parent | d53090ac5e4382f1aaad8ddeff0fce4b43824bad (diff) | |
download | bcm5719-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.td | 1 |
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, |