]> granicus.if.org Git - clang/commitdiff
Put BadLiteral in the NonGCC group. I'd completely forgotten about this.
authorJohn McCall <rjmccall@apple.com>
Fri, 26 Feb 2010 23:48:57 +0000 (23:48 +0000)
committerJohn McCall <rjmccall@apple.com>
Fri, 26 Feb 2010 23:48:57 +0000 (23:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97286 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/DiagnosticGroups.td

index 4cedd11e219ec6c82f4287f2c658af59a4985643..c3c0cf5d0c7c9b2c9e91cc3f3aa45379ada74fc6 100644 (file)
@@ -24,7 +24,7 @@ def AddressOfTemporary : DiagGroup<"address-of-temporary">;
 def : DiagGroup<"aggregate-return">;
 def : DiagGroup<"attributes">;
 def : DiagGroup<"bad-function-cast">;
-def BadLiteral : DiagGroup<"bad-literal">; // not in gcc
+def BadLiteral : DiagGroup<"bad-literal">;
 def : DiagGroup<"c++-compat">;
 def : DiagGroup<"cast-align">;
 def : DiagGroup<"cast-qual">;
@@ -181,4 +181,4 @@ def : DiagGroup<"comments", [Comment]>;         // -Wcomments = -Wcomment
 // A warning group for warnings that we want to have on by default in clang,
 // but which aren't on by default in GCC.
 def NonGCC : DiagGroup<"non-gcc",
-    [SignCompare, Conversion]>;
+    [SignCompare, Conversion, BadLiteral]>;