summaryrefslogtreecommitdiffstats
path: root/clang/test/Index/TestClassDecl.m
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-12-15 20:29:51 +0000
committerDouglas Gregor <dgregor@apple.com>2011-12-15 20:29:51 +0000
commitdc9166c8e1120dc0df1859ba6e3d457a458fd20f (patch)
treeeb14bbba9db83cabdb68f9855daa4109c4c1940a /clang/test/Index/TestClassDecl.m
parent918f976e66e8311ab1053b83521511ddee039783 (diff)
downloadbcm5719-llvm-dc9166c8e1120dc0df1859ba6e3d457a458fd20f.tar.gz
bcm5719-llvm-dc9166c8e1120dc0df1859ba6e3d457a458fd20f.zip
Keep track of all declarations of an Objective-C class (both forward
declarations and definitions) as ObjCInterfaceDecls within the same redeclaration chain. This new representation matches what we do for C/C++ variables/functions/classes/templates/etc., and makes it possible to answer the query "where are all of the declarations of this class?" llvm-svn: 146679
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 e94a5c12fa3..bc4f2afb73e 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=[10:12]
+// CHECK-scan: [8:1 - 8:8] UnexposedDecl=[8:8]
// 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