aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-04-18 02:25:14 +0000
committerChris Lattner <sabre@nondot.org>2009-04-18 02:25:14 +0000
commitd92fa477d54e42c1f0cf9a785b53659a638b8eeb (patch)
treed11d2164e88f3974976ea23012e3ab4f8a8b5bf2
parent6272bcfe5dc148d293ccce9db19df9e71c991cde (diff)
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
-rw-r--r--include/clang/Basic/DiagnosticLexKinds.td2
-rw-r--r--test/Preprocessor/c90.c2
2 files changed, 2 insertions, 2 deletions
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}} */