[clang] 6c2b7ee - Prevent test from failing in my home directory

Sam McCall via cfe-commits cfe-commits at lists.llvm.org
Thu May 28 07:15:04 PDT 2020


Author: Sam McCall
Date: 2020-05-28T16:14:49+02:00
New Revision: 6c2b7ee2f7fac7b683e343c2c383b7e67fadf9f8

URL: https://github.com/llvm/llvm-project/commit/6c2b7ee2f7fac7b683e343c2c383b7e67fadf9f8
DIFF: https://github.com/llvm/llvm-project/commit/6c2b7ee2f7fac7b683e343c2c383b7e67fadf9f8.diff

LOG: Prevent test from failing in my home directory

Added: 
    

Modified: 
    clang/test/Headers/nvptx_device_math_macro.cpp

Removed: 
    


################################################################################
diff  --git a/clang/test/Headers/nvptx_device_math_macro.cpp b/clang/test/Headers/nvptx_device_math_macro.cpp
index e21aa2b072b9..02bdc1f35b0b 100644
--- a/clang/test/Headers/nvptx_device_math_macro.cpp
+++ b/clang/test/Headers/nvptx_device_math_macro.cpp
@@ -8,9 +8,9 @@
 #pragma omp declare target
 int use_macro() {
   double a(0);
-// CHECK-NOT:  call
+// CHECK-NOT:  call {{.*}}
 // CHECK:  call double @llvm.fabs.f64(double
-// CHECK-NOT:  call
+// CHECK-NOT:  call {{.*}}
 // CHECK:      ret i32 %conv
   return (std::fpclassify(a) != FP_ZERO);
 }


        


More information about the cfe-commits mailing list