[clang] 0123744 - [Preprocessor][test] Fix __VERSION__ in init-aarch64.c

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 21 22:38:31 PST 2020


Author: Fangrui Song
Date: 2020-02-21T22:38:20-08:00
New Revision: 0123744d46a1fd6041755b403633af2d6c47f64a

URL: https://github.com/llvm/llvm-project/commit/0123744d46a1fd6041755b403633af2d6c47f64a
DIFF: https://github.com/llvm/llvm-project/commit/0123744d46a1fd6041755b403633af2d6c47f64a.diff

LOG: [Preprocessor][test] Fix __VERSION__ in init-aarch64.c

Added: 
    

Modified: 
    clang/test/Preprocessor/init-aarch64.c

Removed: 
    


################################################################################
diff  --git a/clang/test/Preprocessor/init-aarch64.c b/clang/test/Preprocessor/init-aarch64.c
index c28e4421f0bf..ce769f7ac4e7 100644
--- a/clang/test/Preprocessor/init-aarch64.c
+++ b/clang/test/Preprocessor/init-aarch64.c
@@ -328,7 +328,7 @@
 // AARCH64-NEXT: #define __UINT_LEAST8_MAX__ 255
 // AARCH64-NEXT: #define __UINT_LEAST8_TYPE__ unsigned char
 // AARCH64-NEXT: #define __USER_LABEL_PREFIX__ 
-// AARCH64-NEXT: #define __VERSION__ "Clang 11.0.0 "
+// AARCH64-NEXT: #define __VERSION__ "{{.*}}"
 // AARCH64-NEXT: #define __WCHAR_MAX__ 4294967295U
 // AARCH64-NEXT: #define __WCHAR_TYPE__ unsigned int
 // AARCH64-NEXT: #define __WCHAR_UNSIGNED__ 1


        


More information about the cfe-commits mailing list