]> granicus.if.org Git - clang/commitdiff
Tweak comment above DiagGroup<"all">.
authorNico Weber <nicolasweber@gmx.de>
Wed, 15 Feb 2012 18:18:51 +0000 (18:18 +0000)
committerNico Weber <nicolasweber@gmx.de>
Wed, 15 Feb 2012 18:18:51 +0000 (18:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150600 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/DiagnosticGroups.td

index 5e33a8ad049206c1376996f66d94141798db1bf7..4924e85f2c6e24f3555dfa741536d63791fd8ca0 100644 (file)
@@ -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.