summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2012-02-15 18:18:51 +0000
committerNico Weber <nicolasweber@gmx.de>2012-02-15 18:18:51 +0000
commita92c1eed0f468f70557c0afafa59a0651355a015 (patch)
tree44c4907b5177398518a8848d2c0840994c30799a
parent2aa9a38b6733adca0bd2d544cd42f5d8a1324f23 (diff)
downloadbcm5719-llvm-a92c1eed0f468f70557c0afafa59a0651355a015.tar.gz
bcm5719-llvm-a92c1eed0f468f70557c0afafa59a0651355a015.zip
Tweak comment above DiagGroup<"all">.
llvm-svn: 150600
-rw-r--r--clang/include/clang/Basic/DiagnosticGroups.td4
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/include/clang/Basic/DiagnosticGroups.td b/clang/include/clang/Basic/DiagnosticGroups.td
index 5e33a8ad049..4924e85f2c6 100644
--- a/clang/include/clang/Basic/DiagnosticGroups.td
+++ b/clang/include/clang/Basic/DiagnosticGroups.td
@@ -334,7 +334,9 @@ def Most : DiagGroup<"most", [
// Thread Safety warnings
def ThreadSafety : DiagGroup<"thread-safety">;
-// -Wall is -Wmost -Wparentheses -Wdangling-else -Wswitch
+// Note that putting warnings in -Wall will not disable them by default. If a
+// warning should be active _only_ when -Wall is passed in, mark it as
+// DefaultIgnore in addition to putting it here.
def : DiagGroup<"all", [Most, Parentheses, Switch]>;
// Aliases.
OpenPOWER on IntegriCloud