From: Nico Weber Date: Wed, 15 Feb 2012 18:18:51 +0000 (+0000) Subject: Tweak comment above DiagGroup<"all">. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d226e5cbbf0e5285bda065741655e0e976ed91b9;p=clang Tweak comment above DiagGroup<"all">. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150600 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Basic/DiagnosticGroups.td b/include/clang/Basic/DiagnosticGroups.td index 5e33a8ad04..4924e85f2c 100644 --- a/include/clang/Basic/DiagnosticGroups.td +++ b/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.