]> granicus.if.org Git - clang/commitdiff
move some pp diags to the right .td file.
authorChris Lattner <sabre@nondot.org>
Wed, 15 Apr 2009 18:13:28 +0000 (18:13 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 15 Apr 2009 18:13:28 +0000 (18:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69193 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/DiagnosticCommonKinds.td
include/clang/Basic/DiagnosticLexKinds.td

index 1347293398bfaae4d691082bd99312642b7970c7..e059d5e6052031edfab383ba18615a3b63e50141 100644 (file)
@@ -51,15 +51,8 @@ def warn_integer_too_large_for_signed : Warning<
 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;
 
 }
index 586423bc2651afa26c611b783f56c006aee36988..a9f849eccf39e00a2a18cc70319c63c1808c078e 100644 (file)
@@ -100,6 +100,12 @@ def pp_out_of_date_dependency : Warning<
   "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<