summaryrefslogtreecommitdiffstats
path: root/clang/test/Index/TestClassForwardDecl.m
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-01-19 23:20:36 +0000
committerDouglas Gregor <dgregor@apple.com>2010-01-19 23:20:36 +0000
commit8f40bbee78b8b4b589d374a4ea80fdc62a70b995 (patch)
tree4964f0a21c5903a9d49ecfbef61008558a58603f /clang/test/Index/TestClassForwardDecl.m
parent314825bc8ac6ef3245ca4c1b3aee89f0da2632f6 (diff)
downloadbcm5719-llvm-8f40bbee78b8b4b589d374a4ea80fdc62a70b995.tar.gz
bcm5719-llvm-8f40bbee78b8b4b589d374a4ea80fdc62a70b995.zip
Extend the CIndex API with direct support for expressions and
statements, moving some of the more unnatural kinds of references (VarRef, EnumConstantRef, etc.) over to the expressions. We can now poke at arbitrary expressions and statements with, e.g., clang_getCursor() and get back useful information (e.g., source ranges). llvm-svn: 93946
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 12f67fff66c..ffb96f4f38d 100644
--- a/clang/test/Index/TestClassForwardDecl.m
+++ b/clang/test/Index/TestClassForwardDecl.m
@@ -24,7 +24,7 @@ void function(Foo * arg)
// CHECK-scan: {start_line=10 start_col=19 end_line=10 end_col=19} ParmDecl=arg:10:21
// CHECK-scan: {start_line=10 start_col=20 end_line=10 end_col=20} FunctionDecl=function:10:6 (Definition)
// CHECK-scan: {start_line=10 start_col=21 end_line=10 end_col=23} ParmDecl=arg:10:21
-// CHECK-scan: {start_line=10 start_col=24 end_line=13 end_col=1} FunctionDecl=function:10:6 (Definition)
+// CHECK-scan: {start_line=11 start_col=1 end_line=13 end_col=1} UnexposedStmt=function
// CHECK-scan: {start_line=13 start_col=2 end_line=46 end_col=1} Invalid Cursor => NoDeclFound
OpenPOWER on IntegriCloud