aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2009-04-01 02:48:25 +0000
committerEli Friedman <eli.friedman@gmail.com>2009-04-01 02:48:25 +0000
commit6c105c403025a42ef49641586ba34c23bbfa7958 (patch)
tree7c84a94ceafc58dce2c34584627887ed9f051f6a
parent285d0dba947b7c9960eaa88e8c4fced0398d4319 (diff)
Flip diagnostic from Warning to ExtWarn so that it's an error
with -pedantic-errors. This fixes the C99 part of PR3919. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68178 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/Basic/DiagnosticLexKinds.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Basic/DiagnosticLexKinds.td b/include/clang/Basic/DiagnosticLexKinds.td
index 82ebdaddc1..087e0c63bc 100644
--- a/include/clang/Basic/DiagnosticLexKinds.td
+++ b/include/clang/Basic/DiagnosticLexKinds.td
@@ -86,7 +86,7 @@ def pp_hash_warning : Warning<"#warning%0">;
def pp_include_next_in_primary : Warning<
"#include_next in primary source file">;
def pp_include_next_absolute_path : Warning<"#include_next with absolute path">;
-def ext_c99_whitespace_required_after_macro_name : Warning<
+def ext_c99_whitespace_required_after_macro_name : ExtWarn<
"ISO C99 requires whitespace after the macro name">;
def pp_pragma_once_in_main_file : Warning<"#pragma once in main file">;
def pp_pragma_sysheader_in_main_file : Warning<