From: Nico Weber Date: Thu, 10 Mar 2016 18:42:37 +0000 (+0000) Subject: Make remaining ImplicitFallthrough warning DefaultIgnore. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b6a743ebedc09bc5bf93697774756f0c16266b98;p=clang Make remaining ImplicitFallthrough warning DefaultIgnore. Follow-up to r262881, which caused this to fire more often. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@263138 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Basic/DiagnosticSemaKinds.td b/include/clang/Basic/DiagnosticSemaKinds.td index 239144d708..81d59ba787 100644 --- a/include/clang/Basic/DiagnosticSemaKinds.td +++ b/include/clang/Basic/DiagnosticSemaKinds.td @@ -7327,7 +7327,7 @@ def err_fallthrough_attr_invalid_placement : Error< "fallthrough annotation does not directly precede switch label">; def warn_fallthrough_attr_unreachable : Warning< "fallthrough annotation in unreachable code">, - InGroup; + InGroup, DefaultIgnore; def warn_unreachable_default : Warning< "default label in switch which covers all enumeration values">,