]> granicus.if.org Git - clang/commitdiff
In my last patch use InGroup<Switch> (per Dmitri's comment).
authorFariborz Jahanian <fjahanian@apple.com>
Thu, 10 Jan 2013 20:47:57 +0000 (20:47 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Thu, 10 Jan 2013 20:47:57 +0000 (20:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172103 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/DiagnosticSemaKinds.td

index a67764a5731ac8fd51df42b9102253fd6b23e47f..6712f20cd3597e3828d4e4a44756643541de1c08 100644 (file)
@@ -5714,7 +5714,7 @@ def warn_case_value_overflow : Warning<
   InGroup<Switch>;
 def warn_case_constant_overflow : Warning<
   "overflow in case constant expression results in new value (%0)">,
-  InGroup<DiagGroup<"switch">>;
+  InGroup<Switch>;
 def err_duplicate_case : Error<"duplicate case value '%0'">;
 def err_duplicate_case_differing_expr : Error<
   "duplicate case value: '%0' and '%1' both equal '%2'">;