[clang] 9a6b0af - Don't rely on clang being named clang in test

Benjamin Kramer via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 31 04:51:14 PST 2022


Author: Benjamin Kramer
Date: 2022-01-31T13:50:57+01:00
New Revision: 9a6b0afbe18d3abdc17d6208daecb8839b994e4a

URL: https://github.com/llvm/llvm-project/commit/9a6b0afbe18d3abdc17d6208daecb8839b994e4a
DIFF: https://github.com/llvm/llvm-project/commit/9a6b0afbe18d3abdc17d6208daecb8839b994e4a.diff

LOG: Don't rely on clang being named clang in test

Added: 
    

Modified: 
    clang/test/Driver/cuda-device-triple.cu

Removed: 
    


################################################################################
diff  --git a/clang/test/Driver/cuda-device-triple.cu b/clang/test/Driver/cuda-device-triple.cu
index d8e464293d34e..02574dcf91d9e 100644
--- a/clang/test/Driver/cuda-device-triple.cu
+++ b/clang/test/Driver/cuda-device-triple.cu
@@ -3,4 +3,4 @@
 // RUN: %clang -### -emit-llvm --cuda-device-only \
 // RUN:   -nocudalib -nocudainc --offload=spirv32-unknown-unknown -c %s 2>&1 | FileCheck %s
 
-// CHECK: clang{{.*}}" "-cc1" "-triple" "spirv32-unknown-unknown" {{.*}} "-fcuda-is-device" {{.*}}
+// CHECK: "-cc1" "-triple" "spirv32-unknown-unknown" {{.*}} "-fcuda-is-device" {{.*}}


        


More information about the cfe-commits mailing list