summaryrefslogtreecommitdiffstats
path: root/clang/test/Index/TestClassForwardDecl.m
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-01-19 22:07:56 +0000
committerDouglas Gregor <dgregor@apple.com>2010-01-19 22:07:56 +0000
commitaccb183371d347130ae51d207336aceefbcae2dc (patch)
tree4cc1b717a70f0cdca26bc8fc5946ac10c0d5b5ee /clang/test/Index/TestClassForwardDecl.m
parentdc50e5d128f98081e3fda1bb42a6e49150ba5ffc (diff)
downloadbcm5719-llvm-accb183371d347130ae51d207336aceefbcae2dc.tar.gz
bcm5719-llvm-accb183371d347130ae51d207336aceefbcae2dc.zip
Introduce the notion of an "unexposed" declaration into the CIndex
API. This is a catch-all for any declaration known to Clang but not specifically part of the CIndex API. We'll use the same approach with expressions, statements, references, etc., as needed. llvm-svn: 93924
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 65b7c6f5159..12f67fff66c 100644
--- a/clang/test/Index/TestClassForwardDecl.m
+++ b/clang/test/Index/TestClassForwardDecl.m
@@ -13,7 +13,7 @@ void function(Foo * arg)
}
// CHECK-scan: {start_line=1 start_col=1 end_line=7 end_col=1} Invalid Cursor => NoDeclFound
-// CHECK-scan: {start_line=8 start_col=1 end_line=8 end_col=7} Invalid Cursor => NotImplemented
+// CHECK-scan: {start_line=8 start_col=1 end_line=8 end_col=7} UnexposedDecl=:8:1
// CHECK-scan: {start_line=8 start_col=8 end_line=8 end_col=10} ObjCClassRef=Foo:8:8
// CHECK-scan: {start_line=8 start_col=11 end_line=9 end_col=1} Invalid Cursor => NoDeclFound
// CHECK-scan: {start_line=10 start_col=1 end_line=10 end_col=4} FunctionDecl=function:10:6 (Definition)
OpenPOWER on IntegriCloud