summaryrefslogtreecommitdiffstats
path: root/clang/test/Preprocessor/init.c
diff options
context:
space:
mode:
authorNathan Lanza <nathan@lanza.io>2019-07-16 00:57:50 +0000
committerNathan Lanza <nathan@lanza.io>2019-07-16 00:57:50 +0000
commit50f0c824532886bea5b7536378a16ac9e3b12f9c (patch)
tree5c4db6698e41c6d8838ed46cba891c0d7184ead7 /clang/test/Preprocessor/init.c
parent509903e887263182f580ae75c7fee2eaedb66fae (diff)
downloadbcm5719-llvm-50f0c824532886bea5b7536378a16ac9e3b12f9c.tar.gz
bcm5719-llvm-50f0c824532886bea5b7536378a16ac9e3b12f9c.zip
Allow for vendor prefixes in a list test
Summary: Preprocessor/init.c contains a line that explicitly checks for the string __VERSION__ "Clang{{.*}} It's valid to have a toolchain configured to emit a vendor prefix before the word Clang. e.g. __VERSION__ "Vendor Clang{{.*}} Subscribers: fedor.sergeev, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D64772 llvm-svn: 366159
Diffstat (limited to 'clang/test/Preprocessor/init.c')
-rw-r--r--clang/test/Preprocessor/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Preprocessor/init.c b/clang/test/Preprocessor/init.c
index fce85e05f63..d2d7efc0ae7 100644
--- a/clang/test/Preprocessor/init.c
+++ b/clang/test/Preprocessor/init.c
@@ -8169,7 +8169,7 @@
// SPARC:#define __UINT_LEAST8_MAX__ 255
// SPARC:#define __UINT_LEAST8_TYPE__ unsigned char
// SPARC:#define __USER_LABEL_PREFIX__
-// SPARC:#define __VERSION__ "Clang{{.*}}
+// SPARC:#define __VERSION__ "{{.*}}Clang{{.*}}
// SPARC:#define __WCHAR_MAX__ 2147483647
// SPARC:#define __WCHAR_TYPE__ int
// SPARC:#define __WCHAR_WIDTH__ 32
OpenPOWER on IntegriCloud