]> granicus.if.org Git - clang/commitdiff
clang/test/Index/index-pch-with-module.m: Tweak expressions for win32 pathsep.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Thu, 11 Oct 2012 22:33:14 +0000 (22:33 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Thu, 11 Oct 2012 22:33:14 +0000 (22:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165760 91177308-0d34-0410-b5e6-96231b3b80d8

test/Index/index-pch-with-module.m

index c962c307a8c2a972c32278e860c8a81282c43b5b..ebab648c43d4ce492db79141a15ba711dfceafa0 100644 (file)
@@ -18,14 +18,14 @@ int glob;
 
 // CHECK-NOT: [indexDeclaration]
 // CHECK:      [importedASTFile]: {{.*}}.h.pch
-// CHECK-NEXT: [enteredMainFile]: {{.*}}/index-pch-with-module.m
+// CHECK-NEXT: [enteredMainFile]: {{.*[/\\]}}index-pch-with-module.m
 // CHECK-NEXT: [startedTranslationUnit]
 // CHECK-NEXT: [indexDeclaration]: kind: variable | name: glob | {{.*}} | loc: 10:5
 // CHECK-NOT: [indexDeclaration]
 
 // RUN: c-index-test -index-tu %t.h.pch | FileCheck %s -check-prefix=CHECK-PCH
 
-// CHECK-PCH: [enteredMainFile]: {{.*}}/index-pch-with-module.m
+// CHECK-PCH: [enteredMainFile]: {{.*[/\\]}}index-pch-with-module.m
 // CHECK-PCH: [startedTranslationUnit]
-// CHECK-PCH: [importedASTFile]: {{.*}}.cache/DependsOnModule.pcm | loc: 5:2 | name: "DependsOnModule" | isImplicit: 1
+// CHECK-PCH: [importedASTFile]: {{.*}}.cache{{[/\\]}}DependsOnModule.pcm | loc: 5:2 | name: "DependsOnModule" | isImplicit: 1
 // CHECK-PCH: [indexDeclaration]: kind: variable | name: pch_glob | {{.*}} | loc: 6:12