diff options
author | dim <dim@FreeBSD.org> | 2011-05-02 19:39:53 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2011-05-02 19:39:53 +0000 |
commit | 110eaaceddcec790f7e6a5e3bf1261c9aa1e73ab (patch) | |
tree | 64a10f4c4154739d4a8191d7e1b52ce497f4ebd6 /test/Index/recursive-member-access.c | |
parent | a0fb00f9837bd0d2e5948f16f6a6b82a7a628f51 (diff) | |
download | FreeBSD-src-110eaaceddcec790f7e6a5e3bf1261c9aa1e73ab.zip FreeBSD-src-110eaaceddcec790f7e6a5e3bf1261c9aa1e73ab.tar.gz |
Vendor import of clang trunk r130700:
http://llvm.org/svn/llvm-project/cfe/trunk@130700
Diffstat (limited to 'test/Index/recursive-member-access.c')
-rw-r--r-- | test/Index/recursive-member-access.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/Index/recursive-member-access.c b/test/Index/recursive-member-access.c index c76fa0e..87855ca 100644 --- a/test/Index/recursive-member-access.c +++ b/test/Index/recursive-member-access.c @@ -125,11 +125,11 @@ int test_rdar8650865(struct rdar8650865 *s) { // RUN: c-index-test -test-load-source all %s | FileCheck %s // CHECK: 1:8: StructDecl=rdar8650865:1:8 (Definition) Extent=[1:1 - 4:2] -// CHECK: 2:23: FieldDecl=first:2:23 (Definition) Extent=[2:23 - 2:28] +// CHECK: 2:23: FieldDecl=first:2:23 (Definition) Extent=[2:3 - 2:28] // CHECK: 2:10: TypeRef=struct rdar8650865:1:8 Extent=[2:10 - 2:21] -// CHECK: 3:7: FieldDecl=x:3:7 (Definition) Extent=[3:7 - 3:8] -// CHECK: 6:5: FunctionDecl=test_rdar8650865:6:5 (Definition) Extent=[6:5 - 124:2] -// CHECK: 6:42: ParmDecl=s:6:42 (Definition) Extent=[6:29 - 6:43] +// CHECK: 3:7: FieldDecl=x:3:7 (Definition) Extent=[3:3 - 3:8] +// CHECK: 6:5: FunctionDecl=test_rdar8650865:6:5 (Definition) Extent=[6:1 - 124:2] +// CHECK: 6:42: ParmDecl=s:6:42 (Definition) Extent=[6:22 - 6:43] // CHECK: 6:29: TypeRef=struct rdar8650865:1:8 Extent=[6:29 - 6:40] // CHECK: 6:45: UnexposedStmt= Extent=[6:45 - 124:2] // CHECK: 7:3: UnexposedStmt= Extent=[7:3 - 123:8] @@ -257,7 +257,7 @@ int test_rdar8650865(struct rdar8650865 *s) { // CHECK-tokens: Keyword: "struct" [1:1 - 1:7] StructDecl=rdar8650865:1:8 (Definition) // CHECK-tokens: Identifier: "rdar8650865" [1:8 - 1:19] StructDecl=rdar8650865:1:8 (Definition) // CHECK-tokens: Punctuation: "{" [1:20 - 1:21] StructDecl=rdar8650865:1:8 (Definition) -// CHECK-tokens: Keyword: "struct" [2:3 - 2:9] StructDecl=rdar8650865:1:8 (Definition) +// CHECK-tokens: Keyword: "struct" [2:3 - 2:9] FieldDecl=first:2:23 (Definition) // CHECK-tokens: Identifier: "rdar8650865" [2:10 - 2:21] TypeRef=struct rdar8650865:1:8 // CHECK-tokens: Punctuation: "*" [2:22 - 2:23] FieldDecl=first:2:23 (Definition) // CHECK-tokens: Identifier: "first" [2:23 - 2:28] FieldDecl=first:2:23 (Definition) @@ -270,7 +270,7 @@ int test_rdar8650865(struct rdar8650865 *s) { // CHECK-tokens: Keyword: "int" [6:1 - 6:4] FunctionDecl=test_rdar8650865:6:5 (Definition) // CHECK-tokens: Identifier: "test_rdar8650865" [6:5 - 6:21] FunctionDecl=test_rdar8650865:6:5 (Definition) // CHECK-tokens: Punctuation: "(" [6:21 - 6:22] FunctionDecl=test_rdar8650865:6:5 (Definition) -// CHECK-tokens: Keyword: "struct" [6:22 - 6:28] FunctionDecl=test_rdar8650865:6:5 (Definition) +// CHECK-tokens: Keyword: "struct" [6:22 - 6:28] ParmDecl=s:6:42 (Definition) // CHECK-tokens: Identifier: "rdar8650865" [6:29 - 6:40] TypeRef=struct rdar8650865:1:8 // CHECK-tokens: Punctuation: "*" [6:41 - 6:42] ParmDecl=s:6:42 (Definition) // CHECK-tokens: Identifier: "s" [6:42 - 6:43] ParmDecl=s:6:42 (Definition) |