From 859252ef0f9c536d403ebcad8d14541c6a79b688 Mon Sep 17 00:00:00 2001 From: Nathan Lanza Date: Tue, 16 Jul 2019 02:05:52 +0000 Subject: [PATCH] Change a lit test to permit vendor specific clang version A test manually checks for the string `__VERSION__ "Clang`. This needs to permit vendor specific variants. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@366166 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Preprocessor/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Preprocessor/init.c b/test/Preprocessor/init.c index d2d7efc0ae..954f02a014 100644 --- a/test/Preprocessor/init.c +++ b/test/Preprocessor/init.c @@ -9041,7 +9041,7 @@ // X86_64-CLOUDABI:#define __UINT_LEAST8_MAX__ 255 // X86_64-CLOUDABI:#define __UINT_LEAST8_TYPE__ unsigned char // X86_64-CLOUDABI:#define __USER_LABEL_PREFIX__ -// X86_64-CLOUDABI:#define __VERSION__ "Clang{{.*}} +// X86_64-CLOUDABI:#define __VERSION__ "{{.*}}Clang{{.*}} // X86_64-CLOUDABI:#define __WCHAR_MAX__ 2147483647 // X86_64-CLOUDABI:#define __WCHAR_TYPE__ int // X86_64-CLOUDABI:#define __WCHAR_WIDTH__ 32 -- 2.50.1