From 487eed6117a373e6df14b5375927fa89c1abe740 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Thu, 3 May 2012 18:38:45 +0000 Subject: [PATCH] Remove diagnostic groups and DefaultIgnore from notes. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156087 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/Basic/DiagnosticSemaKinds.td | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/include/clang/Basic/DiagnosticSemaKinds.td b/include/clang/Basic/DiagnosticSemaKinds.td index 4af3af1da8..f1bee6a676 100644 --- a/include/clang/Basic/DiagnosticSemaKinds.td +++ b/include/clang/Basic/DiagnosticSemaKinds.td @@ -5250,17 +5250,13 @@ def warn_unannotated_fallthrough : Warning< "unannotated fall-through between switch labels">, InGroup, DefaultIgnore; def note_insert_fallthrough_fixit : Note< - "insert '[[clang::fallthrough]];' to silence this warning">, - InGroup, DefaultIgnore; + "insert '[[clang::fallthrough]];' to silence this warning">; def note_insert_break_fixit : Note< - "insert 'break;' to avoid fall-through">, - InGroup, DefaultIgnore; + "insert 'break;' to avoid fall-through">; def err_fallthrough_attr_wrong_target : Error< "clang::fallthrough attribute is only allowed on empty statements">, InGroup; -def note_fallthrough_insert_semi_fixit : Note< - "did you forget ';'?">, - InGroup; +def note_fallthrough_insert_semi_fixit : Note<"did you forget ';'?">; def err_fallthrough_attr_outside_switch : Error< "fallthrough annotation is outside switch statement">, InGroup; -- 2.40.0