From: Chris Lattner Date: Sat, 18 Apr 2009 02:25:14 +0000 (+0000) Subject: this is really just a recommendation, not a requirement. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d92fa477d54e42c1f0cf9a785b53659a638b8eeb;p=clang this is really just a recommendation, not a requirement. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69416 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Basic/DiagnosticLexKinds.td b/include/clang/Basic/DiagnosticLexKinds.td index d87c891036..17ff3f0683 100644 --- a/include/clang/Basic/DiagnosticLexKinds.td +++ b/include/clang/Basic/DiagnosticLexKinds.td @@ -98,7 +98,7 @@ def ext_c99_whitespace_required_after_macro_name : ExtWarn< def ext_missing_whitespace_after_macro_name : ExtWarn< "whitespace required after macro name">; def warn_missing_whitespace_after_macro_name : Warning< - "whitespace required after macro name">; + "whitespace recommended after macro name">; def pp_pragma_once_in_main_file : Warning<"#pragma once in main file">; def pp_pragma_sysheader_in_main_file : Warning< diff --git a/test/Preprocessor/c90.c b/test/Preprocessor/c90.c index 4287d0d6b8..ed63d1b3d7 100644 --- a/test/Preprocessor/c90.c +++ b/test/Preprocessor/c90.c @@ -4,7 +4,7 @@ /* PR3919 */ #define foo`bar /* expected-error {{whitespace required after macro name}} */ -#define foo2!bar /* expected-warning {{whitespace required after macro name}} */ +#define foo2!bar /* expected-warning {{whitespace recommended after macro name}} */ #define foo3$bar /* expected-error {{'$' in identifier}} */