[cfe-commits] r69193 - in /cfe/trunk/include/clang/Basic: DiagnosticCommonKinds.td DiagnosticLexKinds.td

Chris Lattner sabre at nondot.org
Wed Apr 15 11:13:29 PDT 2009


Author: lattner
Date: Wed Apr 15 13:13:28 2009
New Revision: 69193

URL: http://llvm.org/viewvc/llvm-project?rev=69193&view=rev
Log:
move some pp diags to the right .td file.

Modified:
    cfe/trunk/include/clang/Basic/DiagnosticCommonKinds.td
    cfe/trunk/include/clang/Basic/DiagnosticLexKinds.td

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

==============================================================================
--- cfe/trunk/include/clang/Basic/DiagnosticCommonKinds.td (original)
+++ cfe/trunk/include/clang/Basic/DiagnosticCommonKinds.td Wed Apr 15 13:13:28 2009
@@ -51,15 +51,8 @@
 def note_invalid_subexpr_in_ice : Note<
   "subexpression not valid in an integer constant expression">;
 
-// Driver
-def pp_macro_not_used : Warning<"macro is not used">, DefaultIgnore,
-    IsGroup<"unused-macros">;
-
-
+// clang-cc
 def err_pp_I_dash_not_supported : Error<
   "-I- not supported, please use -iquote instead">;
-def warn_pp_undef_identifier : Warning<
-  "%0 is not defined, evaluates to 0">,
-  IsGroup<"undef">, DefaultIgnore;
 
 }

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

==============================================================================
--- cfe/trunk/include/clang/Basic/DiagnosticLexKinds.td (original)
+++ cfe/trunk/include/clang/Basic/DiagnosticLexKinds.td Wed Apr 15 13:13:28 2009
@@ -100,6 +100,12 @@
   "current file is older than dependency %0">;
 def pp_undef_builtin_macro : Warning<"undefining builtin macro">;
 def pp_redef_builtin_macro : Warning<"redefining builtin macro">;
+def pp_macro_not_used : Warning<"macro is not used">, DefaultIgnore,
+  IsGroup<"unused-macros">;
+def warn_pp_undef_identifier : Warning<
+  "%0 is not defined, evaluates to 0">,
+  IsGroup<"undef">, DefaultIgnore;
+
 def pp_invalid_string_literal : Warning<
   "invalid string literal, ignoring final '\\'">;
 def warn_pp_expr_overflow : Warning<





More information about the cfe-commits mailing list