Skip to content

Commit 0743383

Browse files
authored
Merge pull request #11895 from cofibrant/users/cofibrant/fix-annotate-parameterized-classes-test
2 parents 4250c58 + e98e0d7 commit 0743383

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clang/test/Index/annotate-parameterized-classes.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ @interface B<T : id, U : NSObject *> : A<T, U>
2222
// CHECK-INTERFACE-DECL: Identifier: "NSObject" [7:26 - 7:34] ObjCClassRef=NSObject:4:12
2323

2424
// RUN: c-index-test -test-annotate-tokens=%s:10:1:12:1 %s -target x86_64-apple-macosx10.7.0 | FileCheck -check-prefix=CHECK-CATEGORY-DECL %s
25-
// CHECK-CATEGORY-DECL: Identifier: "T" [10:14 - 10:15] TemplateTypeParameter=T:10:14
25+
// CHECK-CATEGORY-DECL: Identifier: "T" [10:14 - 10:15] TemplateTypeParameter=T:10:14
2626
// CHECK-CATEGORY-DECL: Identifier: "id" [10:18 - 10:20] TypeRef=id:0:0
2727
// CHECK-CATEGORY-DECL: Identifier: "U" [10:22 - 10:23] TemplateTypeParameter=U:10:22
2828
// CHECK-CATEGORY-DECL: Identifier: "NSObject" [10:26 - 10:34] ObjCClassRef=NSObject:4:12
@@ -34,5 +34,5 @@ @interface B<T : id, U : NSObject *> : A<T, U>
3434

3535
// RUN: c-index-test -test-annotate-tokens=%s:15:1:16:1 %s -target x86_64-apple-macosx10.7.0 | FileCheck -check-prefix=CHECK-SUPER %s
3636
// CHECK-SUPER: Identifier: "A" [15:40 - 15:41] ObjCSuperClassRef=A:7:12
37-
// CHECK-SUPER: Identifier: "T" [15:42 - 15:43] TypeRef=T:15:14
38-
// CHECK-SUPER: Identifier: "U" [15:45 - 15:46] TypeRef=U:15:22
37+
// CHECK-SUPER: Identifier: "T" [15:42 - 15:43] TypeRef=B::T:15:14
38+
// CHECK-SUPER: Identifier: "U" [15:45 - 15:46] TypeRef=B::U:15:22

0 commit comments

Comments
 (0)