[PATCH] D152485: Fix regex in test case so that it doesn't match "coverage" in directory names
Akira Hatanaka via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 9 14:21:58 PDT 2023
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{{.*}}"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152485.530081.patch
Type: text/x-patch
Size: 557 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230609/ed1b21e7/attachment.bin>
More information about the cfe-commits
mailing list