diff options
author | Chris Lattner <sabre@nondot.org> | 2009-03-08 20:13:45 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-03-08 20:13:45 +0000 |
commit | d892cf67178721818d6f46c9b5b67bc6e69ba6f6 (patch) | |
tree | 5a88a4d45386976aca753b8d10f4b853d08dc4d4 | |
parent | 6417fb5bf452a362d7457926712bf583ad430263 (diff) | |
download | bcm5719-llvm-d892cf67178721818d6f46c9b5b67bc6e69ba6f6.tar.gz bcm5719-llvm-d892cf67178721818d6f46c9b5b67bc6e69ba6f6.zip |
the macro redefinition ext warning should default to on, to match gcc.
llvm-svn: 66390
-rw-r--r-- | clang/include/clang/Basic/DiagnosticLexKinds.def | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/include/clang/Basic/DiagnosticLexKinds.def b/clang/include/clang/Basic/DiagnosticLexKinds.def index f1d918ea028..fb701d6f60b 100644 --- a/clang/include/clang/Basic/DiagnosticLexKinds.def +++ b/clang/include/clang/Basic/DiagnosticLexKinds.def @@ -152,7 +152,7 @@ DIAG(ext_pp_comma_expr, EXTENSION, "comma operator in operand of #if") DIAG(ext_pp_bad_vaargs_use, EXTENSION, "__VA_ARGS__ can only appear in the expansion of a C99 variadic macro") -DIAG(ext_pp_macro_redef, EXTENSION, +DIAG(ext_pp_macro_redef, EXTWARN, "%0 macro redefined") DIAG(ext_variadic_macro, EXTENSION, "variadic macros were introduced in C99") |