@@ -26,62 +26,62 @@ - (boid)method2 {}
26
26
@end
27
27
28
28
// RUN: c-index-test -code-completion-at=%s:7:4 %s | FileCheck -check-prefix=CHECK-CC0 %s
29
- // CHECK-CC0: NotImplemented :{TypedText IBAction}{RightParen )}{Placeholder selector}{Colon :}{LeftParen (}{Text id}{RightParen )}{Text sender} (40)
29
+ // CHECK-CC0: Pattern :{TypedText IBAction}{RightParen )}{Placeholder selector}{Colon :}{LeftParen (}{Text id}{RightParen )}{Text sender} (40)
30
30
// CHECK-CC0: macro definition:{TypedText IBAction} (70)
31
31
// CHECK-CC0: macro definition:{TypedText IBOutlet} (70)
32
32
// CHECK-CC0: macro definition:{TypedText IBOutletCollection}{LeftParen (}{Placeholder ClassName}{RightParen )} (70)
33
33
// CHECK-CC0: TypedefDecl:{TypedText id} (50)
34
- // CHECK-CC0: NotImplemented :{TypedText in} (40)
35
- // CHECK-CC0: NotImplemented :{TypedText inout} (40)
36
- // CHECK-CC0: NotImplemented :{TypedText instancetype} (40)
37
- // CHECK-CC0: NotImplemented :{TypedText int} (50)
38
- // CHECK-CC0: NotImplemented :{TypedText long} (50)
34
+ // CHECK-CC0: Keyword :{TypedText in} (40)
35
+ // CHECK-CC0: Keyword :{TypedText inout} (40)
36
+ // CHECK-CC0: Keyword :{TypedText instancetype} (40)
37
+ // CHECK-CC0: Keyword :{TypedText int} (50)
38
+ // CHECK-CC0: Keyword :{TypedText long} (50)
39
39
// RUN: c-index-test -code-completion-at=%s:7:19 %s | FileCheck -check-prefix=CHECK-CC1 %s
40
- // CHECK-CC1-NOT: NotImplemented :{TypedText extern} (40)
41
- // CHECK-CC1: NotImplemented :{TypedText param1} (40)
40
+ // CHECK-CC1-NOT: Keyword :{TypedText extern} (40)
41
+ // CHECK-CC1: Pattern :{TypedText param1} (40)
42
42
// RUN: c-index-test -code-completion-at=%s:9:15 %s | FileCheck -check-prefix=CHECK-CC2 %s
43
43
// RUN: c-index-test -code-completion-at=%s:15:10 %s | FileCheck -check-prefix=CHECK-CC2 %s
44
44
// RUN: c-index-test -code-completion-at=%s:16:9 %s | FileCheck -check-prefix=CHECK-CC2 %s
45
- // CHECK-CC2: NotImplemented :{TypedText const} (40)
45
+ // CHECK-CC2: Keyword :{TypedText const} (40)
46
46
// CHECK-CC2-NOT: int
47
- // CHECK-CC2: NotImplemented :{TypedText restrict} (40)
48
- // CHECK-CC2: NotImplemented :{TypedText volatile} (40)
47
+ // CHECK-CC2: Keyword :{TypedText restrict} (40)
48
+ // CHECK-CC2: Keyword :{TypedText volatile} (40)
49
49
// RUN: c-index-test -code-completion-at=%s:15:15 %s | FileCheck -check-prefix=CHECK-CC3 %s
50
50
// CHECK-CC3: ParmDecl:{ResultType id}{TypedText param1} (34)
51
51
// CHECK-CC3-NOT: VarDecl:{ResultType int}{TypedText q2}
52
52
// CHECK-CC3-NOT: VarDecl:{ResultType id}{TypedText q}
53
- // CHECK-CC3: NotImplemented :{ResultType A *}{TypedText self} (34)
54
- // CHECK-CC3: NotImplemented :{ResultType size_t}{TypedText sizeof}{LeftParen (}{Placeholder expression-or-type}{RightParen )} (40)
53
+ // CHECK-CC3: Declaration :{ResultType A *}{TypedText self} (34)
54
+ // CHECK-CC3: Pattern :{ResultType size_t}{TypedText sizeof}{LeftParen (}{Placeholder expression-or-type}{RightParen )} (40)
55
55
// RUN: c-index-test -code-completion-at=%s:15:15 %s | FileCheck -check-prefix=CHECK-CC4 %s
56
56
// CHECK-CC4: ParmDecl:{ResultType id}{TypedText param1} (34)
57
57
// CHECK-CC4-NOT: VarDecl:{ResultType int}{TypedText q2}
58
- // CHECK-CC4: NotImplemented :{ResultType A *}{TypedText self} (34)
59
- // CHECK-CC4: NotImplemented :{ResultType size_t}{TypedText sizeof}{LeftParen (}{Placeholder expression-or-type}{RightParen )} (40)
58
+ // CHECK-CC4: Declaration :{ResultType A *}{TypedText self} (34)
59
+ // CHECK-CC4: Pattern :{ResultType size_t}{TypedText sizeof}{LeftParen (}{Placeholder expression-or-type}{RightParen )} (40)
60
60
// RUN: c-index-test -code-completion-at=%s:23:10 %s | FileCheck -check-prefix=CHECK-CC5 %s
61
- // CHECK-CC5: NotImplemented :{TypedText _Bool} (50)
62
- // CHECK-CC5: NotImplemented :{TypedText _Complex} (50)
63
- // CHECK-CC5: NotImplemented :{TypedText _Imaginary} (50)
61
+ // CHECK-CC5: Keyword :{TypedText _Bool} (50)
62
+ // CHECK-CC5: Keyword :{TypedText _Complex} (50)
63
+ // CHECK-CC5: Keyword :{TypedText _Imaginary} (50)
64
64
// CHECK-CC5: ObjCInterfaceDecl:{TypedText A} (50)
65
- // CHECK-CC5: NotImplemented :{TypedText char} (50)
65
+ // CHECK-CC5: Keyword :{TypedText char} (50)
66
66
// CHECK-CC5: TypedefDecl:{TypedText Class} (50)
67
- // CHECK-CC5: NotImplemented :{TypedText const} (50)
68
- // CHECK-CC5: NotImplemented :{TypedText double} (50)
69
- // CHECK-CC5: NotImplemented :{TypedText enum} (50)
70
- // CHECK-CC5: NotImplemented :{TypedText float} (50)
67
+ // CHECK-CC5: Keyword :{TypedText const} (50)
68
+ // CHECK-CC5: Keyword :{TypedText double} (50)
69
+ // CHECK-CC5: Keyword :{TypedText enum} (50)
70
+ // CHECK-CC5: Keyword :{TypedText float} (50)
71
71
// CHECK-CC5: TypedefDecl:{TypedText id} (50)
72
- // CHECK-CC5: NotImplemented :{TypedText int} (50)
73
- // CHECK-CC5: NotImplemented :{TypedText long} (50)
74
- // CHECK-CC5: NotImplemented :{TypedText restrict} (50)
72
+ // CHECK-CC5: Keyword :{TypedText int} (50)
73
+ // CHECK-CC5: Keyword :{TypedText long} (50)
74
+ // CHECK-CC5: Keyword :{TypedText restrict} (50)
75
75
// CHECK-CC5: TypedefDecl:{TypedText SEL} (50)
76
- // CHECK-CC5: NotImplemented :{TypedText short} (50)
77
- // CHECK-CC5: NotImplemented :{TypedText signed} (50)
78
- // CHECK-CC5: NotImplemented :{TypedText struct} (50)
79
- // CHECK-CC5: NotImplemented :{TypedText typeof}{HorizontalSpace }{Placeholder expression} (40)
80
- // CHECK-CC5: NotImplemented :{TypedText typeof}{LeftParen (}{Placeholder type}{RightParen )} (40)
81
- // CHECK-CC5: NotImplemented :{TypedText union} (50)
82
- // CHECK-CC5: NotImplemented :{TypedText unsigned} (50)
83
- // CHECK-CC5: NotImplemented :{TypedText void} (50)
84
- // CHECK-CC5: NotImplemented :{TypedText volatile} (50)
76
+ // CHECK-CC5: Keyword :{TypedText short} (50)
77
+ // CHECK-CC5: Keyword :{TypedText signed} (50)
78
+ // CHECK-CC5: Keyword :{TypedText struct} (50)
79
+ // CHECK-CC5: Pattern :{TypedText typeof}{HorizontalSpace }{Placeholder expression} (40)
80
+ // CHECK-CC5: Pattern :{TypedText typeof}{LeftParen (}{Placeholder type}{RightParen )} (40)
81
+ // CHECK-CC5: Keyword :{TypedText union} (50)
82
+ // CHECK-CC5: Keyword :{TypedText unsigned} (50)
83
+ // CHECK-CC5: Keyword :{TypedText void} (50)
84
+ // CHECK-CC5: Keyword :{TypedText volatile} (50)
85
85
86
86
// Check that there are no duplicate entries if we code-complete after an @implementation
87
87
// RUN: c-index-test -code-completion-at=%s:27:1 %s | FileCheck -check-prefix=CHECK-CC6 %s
0 commit comments