[cfe-commits] r69238 - /cfe/trunk/include/clang/Basic/Diagnostic.td

Chris Lattner sabre at nondot.org
Wed Apr 15 15:47:04 PDT 2009


Author: lattner
Date: Wed Apr 15 17:47:03 2009
New Revision: 69238

URL: http://llvm.org/viewvc/llvm-project?rev=69238&view=rev
Log:
add anonymous groups for all the warning command line flags that the clang
driver accepts and discards.

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

Modified: cfe/trunk/include/clang/Basic/Diagnostic.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/Diagnostic.td?rev=69238&r1=69237&r2=69238&view=diff

==============================================================================
--- cfe/trunk/include/clang/Basic/Diagnostic.td (original)
+++ cfe/trunk/include/clang/Basic/Diagnostic.td Wed Apr 15 17:47:03 2009
@@ -38,9 +38,61 @@
 def : DiagGroup<"extra">;
 def : DiagGroup<"">;  // -W
 
-
-
-
+def : DiagGroup<"aggregate-return">;
+def : DiagGroup<"all">;
+def : DiagGroup<"bad-function-cast">;
+def : DiagGroup<"cast-align">;
+def : DiagGroup<"cast-qual">;
+def : DiagGroup<"char-align">;
+def : DiagGroup<"char-subscripts">;
+def : DiagGroup<"declaration-after-statement">;
+def : DiagGroup<"error-implicit-function-declaration">;
+def : DiagGroup<"error">;
+def : DiagGroup<"format-security">;
+def : DiagGroup<"format=2">;
+def : DiagGroup<"format">;
+def : DiagGroup<"four-char-constants">;
+def : DiagGroup<"init-self">;
+def : DiagGroup<"inline">;
+def : DiagGroup<"int-to-pointer-cast">;
+def : DiagGroup<"missing-braces">;
+def : DiagGroup<"missing-declarations">;
+def : DiagGroup<"missing-format-attribute">;
+def : DiagGroup<"most">;
+def : DiagGroup<"nested-externs">;
+def : DiagGroup<"newline-eof">;
+def : DiagGroup<"no-#warnings">;
+def : DiagGroup<"no-comment">;
+def : DiagGroup<"format-y2k">;
+def : DiagGroup<"long-long">;
+def : DiagGroup<"missing-field-initializers">;
+def : DiagGroup<"nonportable-cfstrings">;
+def : DiagGroup<"parentheses">;
+def : DiagGroup<"strict-selector-match">;
+def : DiagGroup<"nonportable-cfstrings">;
+def : DiagGroup<"old-style-definition">;
+def : DiagGroup<"packed">;
+def : DiagGroup<"parentheses">;
+def : DiagGroup<"pointer-arith">;
+def : DiagGroup<"pointer-to-int-cast">;
+def : DiagGroup<"redundant-decls">;
+def : DiagGroup<"return-type">;
+def : DiagGroup<"shadow">;
+def : DiagGroup<"shorten-64-to-32">;
+def : DiagGroup<"sign-compare">;
+def : DiagGroup<"strict-overflow=">;
+def : DiagGroup<"strict-overflow">;
+def : DiagGroup<"strict-prototypes">;
+def : DiagGroup<"switch">;
+def : DiagGroup<"uninitialized">;
+def : DiagGroup<"unknown-pragmas">;
+def : DiagGroup<"unused-function">;
+def : DiagGroup<"unused-label">;
+def : DiagGroup<"unused-parameter">;
+def : DiagGroup<"unused-value">;
+def : DiagGroup<"unused-variable">;
+def : DiagGroup<"variadic-macros">;
+def : DiagGroup<"write-strings">;
 
 
 // All diagnostics emitted by the compiler are an indirect subclass of this.





More information about the cfe-commits mailing list