]> granicus.if.org Git - clang/commitdiff
Remove diagnostic groups and DefaultIgnore from notes.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 3 May 2012 18:38:45 +0000 (18:38 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 3 May 2012 18:38:45 +0000 (18:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156087 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/DiagnosticSemaKinds.td

index 4af3af1da85b1d63d7c457d171f06e14c0cf2e25..f1bee6a676cb224b00259961022d38cdc3fbd83c 100644 (file)
@@ -5250,17 +5250,13 @@ def warn_unannotated_fallthrough : Warning<
   "unannotated fall-through between switch labels">,
   InGroup<ImplicitFallthrough>, DefaultIgnore;
 def note_insert_fallthrough_fixit : Note<
-  "insert '[[clang::fallthrough]];' to silence this warning">,
-  InGroup<ImplicitFallthrough>, DefaultIgnore;
+  "insert '[[clang::fallthrough]];' to silence this warning">;
 def note_insert_break_fixit : Note<
-  "insert 'break;' to avoid fall-through">,
-  InGroup<ImplicitFallthrough>, DefaultIgnore;
+  "insert 'break;' to avoid fall-through">;
 def err_fallthrough_attr_wrong_target : Error<
   "clang::fallthrough attribute is only allowed on empty statements">,
   InGroup<IgnoredAttributes>;
-def note_fallthrough_insert_semi_fixit : Note<
-  "did you forget ';'?">,
-  InGroup<IgnoredAttributes>;
+def note_fallthrough_insert_semi_fixit : Note<"did you forget ';'?">;
 def err_fallthrough_attr_outside_switch : Error<
   "fallthrough annotation is outside switch statement">,
   InGroup<IgnoredAttributes>;