aboutsummaryrefslogtreecommitdiff
path: root/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
commit1f60d9ea523fc321d811fe880ba9a1ec74fa8f9b (patch)
tree0573659048cae0b5bc818e56867a465458899703 /test/Index/TestClassDecl.m
parentdacd24775d9654c3fe5dc2a01640c2b2aab2bead (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@113805 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Index/TestClassDecl.m')
-rw-r--r--test/Index/TestClassDecl.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Index/TestClassDecl.m b/test/Index/TestClassDecl.m
index 09a7d48cfd..8cbe5cd5e9 100644
--- a/test/Index/TestClassDecl.m
+++ b/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