This revision was automatically updated to reflect the committed changes.
Closed by commit rGde3c01b06fe5: Fix regex in test case so that it doesn't 
match "coverage" in directory (authored by ahatanak).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D152485/new/

https://reviews.llvm.org/D152485

Files:
  clang/test/Driver/cuda-no-pgo-or-coverage.cu


Index: clang/test/Driver/cuda-no-pgo-or-coverage.cu
===================================================================
--- clang/test/Driver/cuda-no-pgo-or-coverage.cu
+++ clang/test/Driver/cuda-no-pgo-or-coverage.cu
@@ -26,7 +26,7 @@
 // CHECK-NOT: error: unsupported option '-fprofile
 // CHECK-NOT: error: invalid argument
 // CHECK-DAG: "-fcuda-is-device"
-// CHECK-NOT: "-f{{[^"]*coverage.*}}"
+// CHECK-NOT: "-f{{[^"/]*coverage.*}}"
 // CHECK-NOT: "-fprofile{{[^"]*}}"
 // CHECK: "-triple" "x86_64-unknown-linux-gnu"
 // PROF:      "-fprofile{{.*}}"


Index: clang/test/Driver/cuda-no-pgo-or-coverage.cu
===================================================================
--- clang/test/Driver/cuda-no-pgo-or-coverage.cu
+++ clang/test/Driver/cuda-no-pgo-or-coverage.cu
@@ -26,7 +26,7 @@
 // CHECK-NOT: error: unsupported option '-fprofile
 // CHECK-NOT: error: invalid argument
 // CHECK-DAG: "-fcuda-is-device"
-// CHECK-NOT: "-f{{[^"]*coverage.*}}"
+// CHECK-NOT: "-f{{[^"/]*coverage.*}}"
 // CHECK-NOT: "-fprofile{{[^"]*}}"
 // CHECK: "-triple" "x86_64-unknown-linux-gnu"
 // PROF:      "-fprofile{{.*}}"
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to