]> granicus.if.org Git - clang/commitdiff
Flip diagnostic from Warning to ExtWarn so that it's an error
authorEli Friedman <eli.friedman@gmail.com>
Wed, 1 Apr 2009 02:48:25 +0000 (02:48 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Wed, 1 Apr 2009 02:48:25 +0000 (02:48 +0000)
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

include/clang/Basic/DiagnosticLexKinds.td

index 82ebdaddc1727c25c9477c53bc81e8280198d9c3..087e0c63bcdf1d3a31b27184d41963a456c0b0ac 100644 (file)
@@ -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<