[cfe-commits] r97286 - /cfe/trunk/include/clang/Basic/DiagnosticGroups.td
John McCall
rjmccall at apple.com
Fri Feb 26 15:48:57 PST 2010
Author: rjmccall
Date: Fri Feb 26 17:48:57 2010
New Revision: 97286
URL: http://llvm.org/viewvc/llvm-project?rev=97286&view=rev
Log:
Put BadLiteral in the NonGCC group. I'd completely forgotten about this.
Modified:
cfe/trunk/include/clang/Basic/DiagnosticGroups.td
Modified: cfe/trunk/include/clang/Basic/DiagnosticGroups.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticGroups.td?rev=97286&r1=97285&r2=97286&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/DiagnosticGroups.td (original)
+++ cfe/trunk/include/clang/Basic/DiagnosticGroups.td Fri Feb 26 17:48:57 2010
@@ -24,7 +24,7 @@
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 @@
// 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]>;
More information about the cfe-commits
mailing list