diff options
author | Chris Lattner <sabre@nondot.org> | 2009-04-15 18:13:28 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-04-15 18:13:28 +0000 |
commit | 16e48ff5e9c72101904d4422accd91c59f9f653f (patch) | |
tree | 7fc4af67cff956f01b61673a03db682a0cb1464a | |
parent | 494571789e4154a0eba645e4d611913ab395adb2 (diff) |
move some pp diags to the right .td file.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69193 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/clang/Basic/DiagnosticCommonKinds.td | 9 | ||||
-rw-r--r-- | include/clang/Basic/DiagnosticLexKinds.td | 6 |
2 files changed, 7 insertions, 8 deletions
diff --git a/include/clang/Basic/DiagnosticCommonKinds.td b/include/clang/Basic/DiagnosticCommonKinds.td index 1347293398..e059d5e605 100644 --- a/include/clang/Basic/DiagnosticCommonKinds.td +++ b/include/clang/Basic/DiagnosticCommonKinds.td @@ -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; } diff --git a/include/clang/Basic/DiagnosticLexKinds.td b/include/clang/Basic/DiagnosticLexKinds.td index 586423bc26..a9f849eccf 100644 --- a/include/clang/Basic/DiagnosticLexKinds.td +++ b/include/clang/Basic/DiagnosticLexKinds.td @@ -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< |