summaryrefslogtreecommitdiffstats
path: root/clang/test/Index/TestClassForwardDecl.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/TestClassForwardDecl.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/TestClassForwardDecl.m')
-rw-r--r--clang/test/Index/TestClassForwardDecl.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Index/TestClassForwardDecl.m b/clang/test/Index/TestClassForwardDecl.m
index 325a4236a51..a042bd873d9 100644
--- a/clang/test/Index/TestClassForwardDecl.m
+++ b/clang/test/Index/TestClassForwardDecl.m
@@ -13,7 +13,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=[8:8]
// CHECK-scan: [8:8 - 8:11] ObjCClassRef=Foo:8:8
// CHECK-scan: [8:11 - 10:6] Invalid Cursor => NoDeclFound
// CHECK-scan: [10:6 - 10:15] FunctionDecl=function:10:6 (Definition)
OpenPOWER on IntegriCloud