diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-07-25 17:48:11 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-07-25 17:48:11 +0000 |
commit | 430d7a1a621a126a9ffe442ad8987ba02b46dae9 (patch) | |
tree | fc173c19c8ae7645057202cb5580bd416dbb80b4 /test/Index/blocks.c | |
parent | edc3dccece244a584f8ebdb81da6c962c08e79be (diff) |
Added clang_getCursorReferenceNameRange to libclang to to retrieve parts of
a cursor reference, from Erik Verbruggen!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135920 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Index/blocks.c')
-rw-r--r-- | test/Index/blocks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Index/blocks.c b/test/Index/blocks.c index 633e171ffa..a68cfebf49 100644 --- a/test/Index/blocks.c +++ b/test/Index/blocks.c @@ -26,7 +26,7 @@ void test() { // CHECK: blocks.c:9:37: UnexposedExpr= Extent=[9:37 - 9:55] // CHECK: blocks.c:9:37: UnexposedExpr=x:4:19 Extent=[9:37 - 9:51] // CHECK: blocks.c:9:38: TypeRef=int_t:3:13 Extent=[9:38 - 9:43] -// CHECK: blocks.c:9:50: MemberRefExpr=x:4:19 Extent=[9:45 - 9:51] +// CHECK: blocks.c:9:50: MemberRefExpr=x:4:19 SingleRefName=[9:50 - 9:51] RefName=[9:50 - 9:51] Extent=[9:45 - 9:51] // CHECK: blocks.c:9:45: DeclRefExpr=foo:9:23 Extent=[9:45 - 9:48] // CHECK: blocks.c:9:54: DeclRefExpr=i:8:11 Extent=[9:54 - 9:55] // CHECK: blocks.c:9:59: UnexposedExpr= Extent=[9:59 - 9:64] |