[cfe-commits] r69416 - in /cfe/trunk: include/clang/Basic/DiagnosticLexKinds.td test/Preprocessor/c90.c

Chris Lattner sabre at nondot.org
Fri Apr 17 19:25:14 PDT 2009


Author: lattner
Date: Fri Apr 17 21:25:14 2009
New Revision: 69416

URL: http://llvm.org/viewvc/llvm-project?rev=69416&view=rev
Log:
this is really just a recommendation, not a requirement.

Modified:
    cfe/trunk/include/clang/Basic/DiagnosticLexKinds.td
    cfe/trunk/test/Preprocessor/c90.c

Modified: cfe/trunk/include/clang/Basic/DiagnosticLexKinds.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticLexKinds.td?rev=69416&r1=69415&r2=69416&view=diff

==============================================================================
--- cfe/trunk/include/clang/Basic/DiagnosticLexKinds.td (original)
+++ cfe/trunk/include/clang/Basic/DiagnosticLexKinds.td Fri Apr 17 21:25:14 2009
@@ -98,7 +98,7 @@
 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<

Modified: cfe/trunk/test/Preprocessor/c90.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Preprocessor/c90.c?rev=69416&r1=69415&r2=69416&view=diff

==============================================================================
--- cfe/trunk/test/Preprocessor/c90.c (original)
+++ cfe/trunk/test/Preprocessor/c90.c Fri Apr 17 21:25:14 2009
@@ -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}} */
 





More information about the cfe-commits mailing list