summaryrefslogtreecommitdiffstats
path: root/clang/test/Index/index-module.m
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2013-02-08 00:10:48 +0000
committerDouglas Gregor <dgregor@apple.com>2013-02-08 00:10:48 +0000
commitf5f945280836dca2617c5d3848bcdeb9dbcab7de (patch)
tree8d1361fc012bea4a95f685dfd4303312fa73c148 /clang/test/Index/index-module.m
parentcff2b27bf4e66d5a4728c893a81b382291fae68e (diff)
downloadbcm5719-llvm-f5f945280836dca2617c5d3848bcdeb9dbcab7de.tar.gz
bcm5719-llvm-f5f945280836dca2617c5d3848bcdeb9dbcab7de.zip
Teach subframework header lookup to suggest modules <rdar://problem/13176200>.
llvm-svn: 174683
Diffstat (limited to 'clang/test/Index/index-module.m')
-rw-r--r--clang/test/Index/index-module.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/Index/index-module.m b/clang/test/Index/index-module.m
index 2fccf75d7b7..77dee98b4ac 100644
--- a/clang/test/Index/index-module.m
+++ b/clang/test/Index/index-module.m
@@ -26,6 +26,7 @@ int glob;
// CHECK-DMOD-NEXT: [ppIncludedFile]: [[DMOD_PRIVATE_H:.*/Modules/Inputs/DependsOnModule.framework[/\\]PrivateHeaders[/\\]DependsOnModulePrivate.h]] | {{.*}} | hash loc: <invalid>
// CHECK-DMOD-NEXT: [importedASTFile]: {{.*}}.cache{{[/\\]}}Module.pcm | loc: [[DMOD_MODULE_H]]:1:2 | name: "Module" | isImplicit: 1
// CHECK-DMOD-NEXT: [indexDeclaration]: kind: variable | name: depends_on_module_other | {{.*}} | loc: [[DMOD_OTHER_H]]:1:5
+// CHECK-DMOD-NEXT: [importedASTFile]: {{.*}}.cache/DependsOnModule.pcm | loc: {{.*}}SubFramework.h:1:2 | name: "DependsOnModule.SubFramework.Other" | isImplicit: 1
// CHECK-DMOD-NEXT: [indexDeclaration]: kind: variable | name: sub_framework | {{.*}} | loc: [[DMOD_SUB_H]]:2:8
// CHECK-DMOD-NEXT: [indexDeclaration]: kind: variable | name: sub_framework_other | {{.*}} | loc: [[DMOD_SUB_OTHER_H]]:1:9
// CHECK-DMOD-NEXT: [indexDeclaration]: kind: variable | name: depends_on_module_private | {{.*}} | loc: [[DMOD_PRIVATE_H]]:1:5
OpenPOWER on IntegriCloud