aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-03-08 20:13:45 +0000
committerChris Lattner <sabre@nondot.org>2009-03-08 20:13:45 +0000
commit4e9990b63518b9ca63d6585dfbd492f452f794c2 (patch)
treeed6cd10a9cb0263206a0e58e3ba9e9d609726eff
parent9d4857d191f6bf83f4d9cb0465a20234ef612ada (diff)
the macro redefinition ext warning should default to on, to match gcc.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66390 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/Basic/DiagnosticLexKinds.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Basic/DiagnosticLexKinds.def b/include/clang/Basic/DiagnosticLexKinds.def
index f1d918ea02..fb701d6f60 100644
--- a/include/clang/Basic/DiagnosticLexKinds.def
+++ b/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")