clang/test/Driver/pth.c: Fix r184942, a regexp like "\\\\" is redundant here. Should...
authorNAKAMURA Takumi <geek4civic@gmail.com>
Wed, 26 Jun 2013 15:03:20 +0000 (15:03 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Wed, 26 Jun 2013 15:03:20 +0000 (15:03 +0000)
llvm-svn: 184952

clang/test/Driver/pth.c

index 901cb16..e56c34c 100644 (file)
@@ -3,10 +3,10 @@
 // RUN: %clang -no-canonical-prefixes -ccc-pch-is-pth -x c-header %s -o %t.h.pth -### 2> %t.log
 // RUN: FileCheck -check-prefix CHECK1 -input-file %t.log %s
 
-// CHECK1: "{{.*}}{{/|\\\\}}clang{{.*}}" "-cc1" {{.*}} "-o" "{{.*}}.h.pth" "-x" "c-header" "{{.*}}pth.c"
+// CHECK1: "{{.*[/\\]}}clang{{.*}}" "-cc1" {{.*}} "-o" "{{.*}}.h.pth" "-x" "c-header" "{{.*}}pth.c"
 
 // RUN: touch %t.h.pth
 // RUN: %clang -no-canonical-prefixes -ccc-pch-is-pth -E -include %t.h %s -### 2> %t.log
 // RUN: FileCheck -check-prefix CHECK2 -input-file %t.log %s
 
-// CHECK2: "{{.*}}{{/|\\\\}}clang{{.*}}" "-cc1" {{.*}}"-include-pth" "{{.*}}.h.pth" {{.*}}"-x" "c" "{{.*}}pth.c"
+// CHECK2: "{{.*[/\\]}}clang{{.*}}" "-cc1" {{.*}}"-include-pth" "{{.*}}.h.pth" {{.*}}"-x" "c" "{{.*}}pth.c"