r263138 - Make remaining ImplicitFallthrough warning DefaultIgnore.

Nico Weber via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 10 10:42:37 PST 2016


Author: nico
Date: Thu Mar 10 12:42:37 2016
New Revision: 263138

URL: http://llvm.org/viewvc/llvm-project?rev=263138&view=rev
Log:
Make remaining ImplicitFallthrough warning DefaultIgnore.

Follow-up to r262881, which caused this to fire more often.

Modified:
    cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td

Modified: cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td?rev=263138&r1=263137&r2=263138&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td (original)
+++ cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td Thu Mar 10 12:42:37 2016
@@ -7327,7 +7327,7 @@ def err_fallthrough_attr_invalid_placeme
   "fallthrough annotation does not directly precede switch label">;
 def warn_fallthrough_attr_unreachable : Warning<
   "fallthrough annotation in unreachable code">,
-  InGroup<ImplicitFallthrough>;
+  InGroup<ImplicitFallthrough>, DefaultIgnore;
 
 def warn_unreachable_default : Warning<
   "default label in switch which covers all enumeration values">,




More information about the cfe-commits mailing list