diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-03-08 14:59:44 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-03-08 14:59:44 +0000 |
commit | 12852d9521243840968d38e9e4ee704f3713c3dd (patch) | |
tree | 867728805f7b3274e56a2f787a91eff30e12c166 /clang/test/Index/c-index-getCursor-test.m | |
parent | 7a9ba76825e8c741faa1b412c1d7cf5ee4d64041 (diff) | |
download | bcm5719-llvm-12852d9521243840968d38e9e4ee704f3713c3dd.tar.gz bcm5719-llvm-12852d9521243840968d38e9e4ee704f3713c3dd.zip |
Keep track of type source information in the return type of an
Objective-C method declaration, e.g., for
- (Foo *)myMethod;
we now have TypeSourceInfo for the Foo*.
llvm-svn: 97942
Diffstat (limited to 'clang/test/Index/c-index-getCursor-test.m')
-rw-r--r-- | clang/test/Index/c-index-getCursor-test.m | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/test/Index/c-index-getCursor-test.m b/clang/test/Index/c-index-getCursor-test.m index 6a17e1c8417..197a7d41c57 100644 --- a/clang/test/Index/c-index-getCursor-test.m +++ b/clang/test/Index/c-index-getCursor-test.m @@ -90,7 +90,9 @@ int main (int argc, const char * argv[]) { // CHECK: [31:27 - 33:9] ObjCInterfaceDecl=Baz:31:12 // CHECK: [33:9 - 33:16] ObjCIvarDecl=_anIVar:33:9 (Definition) // CHECK: [33:16 - 36:1] ObjCInterfaceDecl=Baz:31:12 -// CHECK: [36:1 - 36:21] ObjCInstanceMethodDecl=bazMethod:36:1 +// CHECK: [36:1 - 36:4] ObjCInstanceMethodDecl=bazMethod:36:1 +// CHECK: [36:4 - 36:7] ObjCClassRef=Foo:3:12 +// CHECK: [36:7 - 36:21] ObjCInstanceMethodDecl=bazMethod:36:1 // CHECK: [36:21 - 38:5] ObjCInterfaceDecl=Baz:31:12 // CHECK: [38:5 - 40:1] Invalid Cursor => NoDeclFound // CHECK: [40:1 - 41:3] EnumDecl=:40:1 (Definition) |