diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-01-19 23:20:36 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-01-19 23:20:36 +0000 |
commit | 97b9872d5775446cb8aca1380e437649fe848d91 (patch) | |
tree | 05c97bdf4e1cf62171a142e970025156d868088b /test/Index/TestClassForwardDecl.m | |
parent | a3899eb5e30426b00b80232a15ae557dd4caa5b8 (diff) |
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).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93946 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Index/TestClassForwardDecl.m')
-rw-r--r-- | test/Index/TestClassForwardDecl.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Index/TestClassForwardDecl.m b/test/Index/TestClassForwardDecl.m index 12f67fff66..ffb96f4f38 100644 --- a/test/Index/TestClassForwardDecl.m +++ b/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 |