diff options
author | Nico Weber <nicolasweber@gmx.de> | 2012-02-15 18:18:51 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2012-02-15 18:18:51 +0000 |
commit | d226e5cbbf0e5285bda065741655e0e976ed91b9 (patch) | |
tree | 936ce553d43657ca532c2633402061d9ca0d82dc | |
parent | 87c5150752baafab380e5f7837a32410fa83c7dc (diff) |
Tweak comment above DiagGroup<"all">.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150600 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/clang/Basic/DiagnosticGroups.td | 4 |
1 files changed, 3 insertions, 1 deletions
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. |