aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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}} */