forked from OSchip/llvm-project
move some pp diags to the right .td file.
llvm-svn: 69193
This commit is contained in:
parent
d9dadc7d30
commit
001e994495
clang/include/clang/Basic
|
@ -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;
|
||||
|
||||
}
|
||||
|
|
|
@ -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<
|
||||
|
|
Loading…
Reference in New Issue