]> granicus.if.org Git - clang/commitdiff
Fix one more clang test which didn't have \5C in it
authorReid Kleckner <rnk@google.com>
Thu, 10 Oct 2019 18:42:06 +0000 (18:42 +0000)
committerReid Kleckner <rnk@google.com>
Thu, 10 Oct 2019 18:42:06 +0000 (18:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@374418 91177308-0d34-0410-b5e6-96231b3b80d8

test/CoverageMapping/abspath.cpp

index 4b92a3773db0de7a7710efaa9b1478660211d6cf..892dff8de0166e98d45716fbca464e97c1e541c9 100644 (file)
@@ -9,7 +9,7 @@
 // RUN: %clang_cc1 -fprofile-instrument=clang -fcoverage-mapping -emit-llvm -main-file-name abspath.cpp ../test/f1.c -o - | FileCheck -check-prefix=RELPATH %s
 
 // RELPATH: @__llvm_coverage_mapping = {{.*}}"\01
-// RELPATH: {{[/\\]}}{{.*}}{{[/\\][^/\\]*}}test{{[/\\][^/\\]*}}f1.c
+// RELPATH: {{[/\\].*(/|\\\\)test(/|\\\\)f1}}.c
 // RELPATH: "
 
 void f1() {}