From: NAKAMURA Takumi Date: Wed, 26 Jun 2013 15:03:20 +0000 (+0000) Subject: clang/test/Driver/pth.c: Fix r184942, a regexp like "\\\\" is redundant here. Should... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eacc92f312086b37e82cb022eca2cb352602dc78;p=clang clang/test/Driver/pth.c: Fix r184942, a regexp like "\\\\" is redundant here. Should be matched to single \ with '\\'. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184952 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Driver/pth.c b/test/Driver/pth.c index 901cb16c0b..e56c34c93b 100644 --- a/test/Driver/pth.c +++ b/test/Driver/pth.c @@ -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"