diff options
| author | Ted Kremenek <kremenek@apple.com> | 2010-05-12 07:21:07 +0000 |
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2010-05-12 07:21:07 +0000 |
| commit | d58be13b68a2bbaff6870651b65f85b900fcf23f (patch) | |
| tree | 7f721b9b30a2e1da39a31dd07e77d527449b5de0 /clang/test/Index/annotate-tokens.m | |
| parent | 2576db727bf98795227e6fbe389149df3044b424 (diff) | |
| download | bcm5719-llvm-d58be13b68a2bbaff6870651b65f85b900fcf23f.tar.gz bcm5719-llvm-d58be13b68a2bbaff6870651b65f85b900fcf23f.zip | |
Make test case invariant to macro definition location.
llvm-svn: 103587
Diffstat (limited to 'clang/test/Index/annotate-tokens.m')
| -rw-r--r-- | clang/test/Index/annotate-tokens.m | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/Index/annotate-tokens.m b/clang/test/Index/annotate-tokens.m index bcbbd0edd01..ff317ea4fe7 100644 --- a/clang/test/Index/annotate-tokens.m +++ b/clang/test/Index/annotate-tokens.m @@ -146,7 +146,7 @@ extern int ibaction_test(void); // CHECK: Identifier: "IBActionTests" [32:12 - 32:25] ObjCInterfaceDecl=IBActionTests:32:12 // CHECK: Punctuation: "-" [33:1 - 33:2] ObjCInstanceMethodDecl=actionMethod::33:1 // CHECK: Punctuation: "(" [33:3 - 33:4] ObjCInstanceMethodDecl=actionMethod::33:1 -// CHECK: Identifier: "IBAction" [33:4 - 33:12] macro instantiation=IBAction:131:9 +// CHECK: Identifier: "IBAction" [33:4 - 33:12] macro instantiation=IBAction // CHECK: Punctuation: ")" [33:12 - 33:13] ObjCInstanceMethodDecl=actionMethod::33:1 // CHECK: Identifier: "actionMethod" [33:14 - 33:26] ObjCInstanceMethodDecl=actionMethod::33:1 // CHECK: Punctuation: ":" [33:26 - 33:27] ObjCInstanceMethodDecl=actionMethod::33:1 @@ -180,7 +180,7 @@ extern int ibaction_test(void); // CHECK: Identifier: "IBActionTests" [37:17 - 37:30] ObjCImplementationDecl=IBActionTests:37:1 (Definition) // CHECK: Punctuation: "-" [38:1 - 38:2] ObjCInstanceMethodDecl=actionMethod::38:1 (Definition) // CHECK: Punctuation: "(" [38:3 - 38:4] ObjCInstanceMethodDecl=actionMethod::38:1 (Definition) -// CHECK: Identifier: "IBAction" [38:4 - 38:12] macro instantiation=IBAction:131:9 +// CHECK: Identifier: "IBAction" [38:4 - 38:12] macro instantiation=IBAction // CHECK: Punctuation: ")" [38:12 - 38:13] ObjCInstanceMethodDecl=actionMethod::38:1 (Definition) // CHECK: Identifier: "actionMethod" [38:14 - 38:26] ObjCInstanceMethodDecl=actionMethod::38:1 (Definition) // CHECK: Punctuation: ":" [38:26 - 38:27] ObjCInstanceMethodDecl=actionMethod::38:1 (Definition) @@ -232,7 +232,7 @@ extern int ibaction_test(void); // CHECK: Punctuation: "}" [54:1 - 54:2] ObjCInterfaceDecl=IBOutletTests:51:12 // CHECK: Punctuation: "-" [55:1 - 55:2] ObjCInterfaceDecl=IBOutletTests:51:12 // CHECK: Punctuation: "(" [55:3 - 55:4] ObjCInterfaceDecl=IBOutletTests:51:12 -// CHECK: Identifier: "IBAction" [55:4 - 55:12] macro instantiation=IBAction:131:9 +// CHECK: Identifier: "IBAction" [55:4 - 55:12] macro instantiation=IBAction // CHECK: Punctuation: ")" [55:12 - 55:13] ObjCInterfaceDecl=IBOutletTests:51:12 // CHECK: Identifier: "actionMethod" [55:14 - 55:26] ObjCInterfaceDecl=IBOutletTests:51:12 // CHECK: Punctuation: ":" [55:26 - 55:27] ObjCInterfaceDecl=IBOutletTests:51:12 |

