summaryrefslogtreecommitdiffstats
path: root/clang/test/Index/TestClassDecl.m
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-09-13 22:52:57 +0000
committerDouglas Gregor <dgregor@apple.com>2010-09-13 22:52:57 +0000
commit16a2bdd6b011e4522463ae162625712f1764cb1c (patch)
treef60b6dc514026a6dc27ab1f9460cb6e891cc118c /clang/test/Index/TestClassDecl.m
parent59c97b50ae56b69d42cdecd94818ef0c1e317393 (diff)
downloadbcm5719-llvm-16a2bdd6b011e4522463ae162625712f1764cb1c.tar.gz
bcm5719-llvm-16a2bdd6b011e4522463ae162625712f1764cb1c.zip
Introduce a new kind of cursor into libclang, which covers a reference
to an "overloaded" set of declarations. This cursor kind works for unresolved references to functions/templates (e.g., a call within a template), using declarations, and Objective-C class and protocol forward declarations. llvm-svn: 113805
Diffstat (limited to 'clang/test/Index/TestClassDecl.m')
-rw-r--r--clang/test/Index/TestClassDecl.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Index/TestClassDecl.m b/clang/test/Index/TestClassDecl.m
index 09a7d48cfdd..8cbe5cd5e9b 100644
--- a/clang/test/Index/TestClassDecl.m
+++ b/clang/test/Index/TestClassDecl.m
@@ -16,7 +16,7 @@ void function(Foo * arg)
}
// CHECK-scan: [1:1 - 8:1] Invalid Cursor => NoDeclFound
-// CHECK-scan: [8:1 - 8:8] UnexposedDecl=:8:1
+// CHECK-scan: [8:1 - 8:8] UnexposedDecl=[10:12]
// CHECK-scan: [8:8 - 8:11] ObjCClassRef=Foo:10:12
// CHECK-scan: [8:11 - 10:1] Invalid Cursor => NoDeclFound
// CHECK-scan: [10:1 - 11:5] ObjCInterfaceDecl=Foo:10:12
OpenPOWER on IntegriCloud