annotate clang/test/Index/complete-protocols.m @ 206:f17a3b42b08b

Added tag before-12 for changeset b7591485f4cd
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 07 Jun 2021 21:25:57 +0900
parents 1d019706d866
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 /* Note: the RUN lines are near the end of the file, since line/column
anatofuz
parents:
diff changeset
2 matter for this test. */
anatofuz
parents:
diff changeset
3
anatofuz
parents:
diff changeset
4 @protocol Protocol1
anatofuz
parents:
diff changeset
5 @end
anatofuz
parents:
diff changeset
6
anatofuz
parents:
diff changeset
7 @protocol Protocol2;
anatofuz
parents:
diff changeset
8
anatofuz
parents:
diff changeset
9 void f(id<Protocol1,Protocol2>);
anatofuz
parents:
diff changeset
10
anatofuz
parents:
diff changeset
11 @protocol Protocol0;
anatofuz
parents:
diff changeset
12 @protocol NewProtocol
anatofuz
parents:
diff changeset
13 {
anatofuz
parents:
diff changeset
14 }
anatofuz
parents:
diff changeset
15 @end
anatofuz
parents:
diff changeset
16
anatofuz
parents:
diff changeset
17 // RUN: c-index-test -code-completion-at=%s:9:11 %s | FileCheck -check-prefix=CHECK-CC1 %s
anatofuz
parents:
diff changeset
18 // CHECK-CC1: ObjCProtocolDecl:{TypedText Protocol1}
anatofuz
parents:
diff changeset
19 // CHECK-CC1-NEXT: ObjCProtocolDecl:{TypedText Protocol2}
anatofuz
parents:
diff changeset
20 // RUN: c-index-test -code-completion-at=%s:9:21 %s | FileCheck -check-prefix=CHECK-CC2 %s
anatofuz
parents:
diff changeset
21 // CHECK-CC2-NOT: ObjCProtocolDecl:{TypedText Protocol1}
anatofuz
parents:
diff changeset
22 // CHECK-CC2: ObjCProtocolDecl:{TypedText Protocol2}
anatofuz
parents:
diff changeset
23 // RUN: c-index-test -code-completion-at=%s:12:11 %s | FileCheck -check-prefix=CHECK-CC3 %s
anatofuz
parents:
diff changeset
24 // CHECK-CC3: ObjCProtocolDecl:{TypedText Protocol0}
anatofuz
parents:
diff changeset
25 // CHECK-CC3-NEXT: ObjCProtocolDecl:{TypedText Protocol2}
anatofuz
parents:
diff changeset
26
anatofuz
parents:
diff changeset
27 // RUN: env CINDEXTEST_EDITING=1 CINDEXTEST_COMPLETION_CACHING=1 c-index-test -code-completion-at=%s:9:11 %s | FileCheck -check-prefix=CHECK-CC1 %s