77
88// RUN: %batch-code-completion -filecheck-additional-suffix _DISABLED
99// RUN: %batch-code-completion -filecheck-additional-suffix _ENABLED \
10- // RUN: -enable-experimental-feature ABIAttribute \
11- // RUN: -enable-experimental-feature NonIsolatedAsyncInheritsIsolationFromContext
10+ // RUN: -enable-experimental-feature ABIAttribute
1211
1312// NOTE: Please do not include the ", N items" after "Begin completions". The
1413// item count creates needless merge conflicts given that an "End completions"
1817
1918// KEYWORD2: Begin completions
2019// KEYWORD2_ENABLED-DAG: Keyword/None: abi[#Func Attribute#]; name=abi
21- // KEYWORD2_ENABLED-DAG: Keyword/None: execution[#Func Attribute#]; name=execution
2220// KEYWORD2_DISABLED-NOT: Keyword/None: abi[#{{.*}} Attribute#]; name=abi
23- // KEYWORD2_DISABLED-NOT: Keyword/None: execution[#{{.*}} Attribute#]; name=execution
2421// KEYWORD2: End completions
2522
2623@#^KEYWORD3 ^# class C { }
2724
2825// KEYWORD3: Begin completions
2926// KEYWORD3_ENABLED-NOT: Keyword/None: abi[#{{.*}} Attribute#]; name=abi
30- // KEYWORD3_ENABLED-NOT: Keyword/None: execution[#{{.*}} Attribute#]; name=execution
3127// KEYWORD3_DISABLED-NOT: Keyword/None: abi[#{{.*}} Attribute#]; name=abi
32- // KEYWORD3_DISABLED-NOT: Keyword/None: execution[#{{.*}} Attribute#]; name=execution
3328// KEYWORD3: End completions
3429
3530@#^KEYWORD3_2 ? check= KEYWORD3^#IB class C2 { }
3833@#^KEYWORD4 ^# enum E { }
3934// KEYWORD4: Begin completions
4035// KEYWORD4_ENABLED-NOT: Keyword/None: abi[#{{.*}} Attribute#]; name=abi
41- // KEYWORD4_ENABLED-NOT: Keyword/None: execution[#{{.*}} Attribute#]; name=execution
4236// KEYWORD4_DISABLED-NOT: Keyword/None: abi[#{{.*}} Attribute#]; name=abi
43- // KEYWORD4_DISABLED-NOT: Keyword/None: execution[#{{.*}} Attribute#]; name=execution
4437// KEYWORD4: End completions
4538
4639@#^KEYWORD5 ^# struct S { }
4740// KEYWORD5: Begin completions
4841// KEYWORD5_ENABLED-NOT: Keyword/None: abi[#{{.*}} Attribute#]; name=abi
49- // KEYWORD5_ENABLED-NOT: Keyword/None: execution[#{{.*}} Attribute#]; name=execution
5042// KEYWORD5_DISABLED-NOT: Keyword/None: abi[#{{.*}} Attribute#]; name=abi
51- // KEYWORD5_DISABLED-NOT: Keyword/None: execution[#{{.*}} Attribute#]; name=execution
5243// KEYWORD5: End completions
5344
5445@#^ON_GLOBALVAR^# var globalVar
5546// ON_GLOBALVAR: Begin completions
5647// ON_GLOBALVAR_ENABLED-DAG: Keyword/None: abi[#Var Attribute#]; name=abi
57- // ON_GLOBALVAR_ENABLED-NOT: Keyword/None: execution[#{{.*}} Attribute#]; name=execution
5848// ON_GLOBALVAR_DISABLED-NOT: Keyword/None: abi[#{{.*}} Attribute#]; name=abi
59- // ON_GLOBALVAR_DISABLED-NOT: Keyword/None: execution[#{{.*}} Attribute#]; name=execution
6049// ON_GLOBALVAR: End completions
6150
6251struct _S {
6352 @#^ON_INIT^# init( )
6453// ON_INIT: Begin completions
6554// ON_INIT_ENABLED-DAG: Keyword/None: abi[#Constructor Attribute#]; name=abi
66- // ON_INIT_ENABLED-NOT: Keyword/None: execution[#{{.*}} Attribute#]; name=execution
6755// ON_INIT_DISABLED-NOT: Keyword/None: abi[#{{.*}} Attribute#]; name=abi
68- // ON_INIT_DISABLED-NOT: Keyword/None: execution[#{{.*}} Attribute#]; name=execution
6956// ON_INIT: End completions
7057
7158 @#^ON_PROPERTY^# var foo
7259// ON_PROPERTY: Begin completions
7360// ON_PROPERTY_ENABLED-DAG: Keyword/None: abi[#Var Attribute#]; name=abi
74- // ON_PROPERTY_ENABLED-NOT: Keyword/None: execution[#{{.*}} Attribute#]; name=execution
7561// ON_PROPERTY_DISABLED-NOT: Keyword/None: abi[#{{.*}} Attribute#]; name=abi
76- // ON_PROPERTY_DISABLED-NOT: Keyword/None: execution[#{{.*}} Attribute#]; name=execution
7762// ON_PROPERTY: End completions
7863
7964 @#^ON_METHOD^# private
8065 func foo( )
8166// ON_METHOD: Begin completions
8267// ON_METHOD_ENABLED-DAG: Keyword/None: abi[#Func Attribute#]; name=abi
83- // ON_METHOD_ENABLED-DAG: Keyword/None: execution[#Func Attribute#]; name=execution
8468// ON_METHOD_DISABLED-NOT: Keyword/None: abi[#{{.*}} Attribute#]; name=abi
85- // ON_METHOD_DISABLED-NOT: Keyword/None: execution[#{{.*}} Attribute#]; name=execution
8669// ON_METHOD: End completions
8770
8871
8972 func bar( @#^ON_PARAM_1 ? check= ON_PARAM^#)
9073// ON_PARAM: Begin completions
9174// ON_PARAM_ENABLED-NOT: Keyword/None: abi[#{{.*}} Attribute#]; name=abi
92- // ON_PARAM_ENABLED-NOT: Keyword/None: execution[#{{.*}} Attribute#]; name=execution
9375// ON_PARAM_DISABLED-NOT: Keyword/None: abi[#{{.*}} Attribute#]; name=abi
94- // ON_PARAM_DISABLED-NOT: Keyword/None: execution[#{{.*}} Attribute#]; name=execution
9576// ON_PARAM: End completions
9677
9778 func bar(
@@ -114,9 +95,7 @@ struct _S {
11495 @#^ON_MEMBER_LAST^#
11596// ON_MEMBER_LAST: Begin completions
11697// ON_MEMBER_LAST_ENABLED-DAG: Keyword/None: abi[#Declaration Attribute#]; name=abi
117- // ON_MEMBER_LAST_ENABLED-DAG: Keyword/None: execution[#Declaration Attribute#]; name=execution
11898// ON_MEMBER_LAST_DISABLED-NOT: Keyword/None: abi[#{{.*}} Attribute#]; name=abi
119- // ON_MEMBER_LAST_DISABLED-NOT: Keyword/None: execution[#{{.*}} Attribute#]; name=execution
12099// ON_MEMBER_LAST: End completions
121100}
122101
@@ -128,9 +107,7 @@ func takeClosure(_: () -> Void) {
128107// IN_CLOSURE: Begin completions
129108// FIXME: Not valid in this position (but CompletionLookup can't tell that)
130109// IN_CLOSURE_ENABLED-DAG: Keyword/None: abi[#Declaration Attribute#]; name=abi
131- // IN_CLOSURE_ENABLED-DAG: Keyword/None: execution[#Declaration Attribute#]; name=execution
132110// IN_CLOSURE_DISABLED-NOT: Keyword/None: abi[#{{.*}} Attribute#]; name=abi
133- // IN_CLOSURE_DISABLED-NOT: Keyword/None: execution[#{{.*}} Attribute#]; name=execution
134111// IN_CLOSURE: End completions
135112
136113@#^KEYWORD_INDEPENDENT_1 ? check= KEYWORD_LAST^#
@@ -146,7 +123,5 @@ func dummy2() {}
146123
147124// KEYWORD_LAST: Begin completions
148125// KEYWORD_LAST_ENABLED-DAG: Keyword/None: abi[#Declaration Attribute#]; name=abi
149- // KEYWORD_LAST_ENABLED-DAG: Keyword/None: execution[#Declaration Attribute#]; name=execution
150126// KEYWORD_LAST_DISABLED-NOT: Keyword/None: abi[#Declaration Attribute#]; name=abi
151- // KEYWORD_LAST_DISABLED-NOT: Keyword/None: execution[#Declaration Attribute#]; name=execution
152127// KEYWORD_LAST: End completions
0 commit comments