summaryrefslogtreecommitdiffstats
path: root/clang/test/Lexer/pragma-operators.cpp
diff options
context:
space:
mode:
authorAndy Gibbs <andyg1001@hotmail.co.uk>2013-04-18 16:49:37 +0000
committerAndy Gibbs <andyg1001@hotmail.co.uk>2013-04-18 16:49:37 +0000
commit96d93907eb84ac16eea246f459fe961a7c78c8ac (patch)
tree0dc07e083f0dde47f849381235176548aba99abd /clang/test/Lexer/pragma-operators.cpp
parent65ff01bccb06b12259ffa4fafc5087653187793a (diff)
downloadbcm5719-llvm-96d93907eb84ac16eea246f459fe961a7c78c8ac.tar.gz
bcm5719-llvm-96d93907eb84ac16eea246f459fe961a7c78c8ac.zip
Dropped the parentheses for #pragma message and its kin in the -E output generator.
This was a suggestion by Jordan Rose since the documented format for these pragmas is without the parentheses. At the same time, I've increased test coverage too for the preprocessed output. llvm-svn: 179771
Diffstat (limited to 'clang/test/Lexer/pragma-operators.cpp')
-rw-r--r--clang/test/Lexer/pragma-operators.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Lexer/pragma-operators.cpp b/clang/test/Lexer/pragma-operators.cpp
index 6a5a498a151..7402f9f8c4b 100644
--- a/clang/test/Lexer/pragma-operators.cpp
+++ b/clang/test/Lexer/pragma-operators.cpp
@@ -32,6 +32,6 @@ B(foo)
// CHECK: #pragma comment(lib, "libfoo")
// CHECK: #pragma clang diagnostic ignored "-Wunused"
// CHECK: #pragma clang diagnostic error "-Wunused"
-// CHECK: #pragma message("\042Hello\042, world!")
+// CHECK: #pragma message "\042Hello\042, world!"
// CHECK: 0;
int n = pragma_L pragma_u8 pragma_u pragma_U pragma_R pragma_UR pragma_hello 0;
OpenPOWER on IntegriCloud