]> granicus.if.org Git - clang/commit
Allow for vendor prefixes in a list test
authorNathan Lanza <nathan@lanza.io>
Tue, 16 Jul 2019 00:57:50 +0000 (00:57 +0000)
committerNathan Lanza <nathan@lanza.io>
Tue, 16 Jul 2019 00:57:50 +0000 (00:57 +0000)
commitbc33320ab1eefc2eeb08017857d7c4bb3ee8cab5
treecfff669f26e830088f32f19f92e77d3492930521
parenta3632edb1592c20e3e4ef28899a598e6e17ec3ed
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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@366159 91177308-0d34-0410-b5e6-96231b3b80d8
test/Preprocessor/init.c