@@ -121,8 +121,7 @@ ContextFreeCodeCompletionResult *
121121ContextFreeCodeCompletionResult::createPatternOrBuiltInOperatorResult (
122122 CodeCompletionResultSink &Sink, CodeCompletionResultKind Kind,
123123 CodeCompletionString *CompletionString,
124- CodeCompletionOperatorKind KnownOperatorKind, bool IsAsync,
125- NullTerminatedStringRef BriefDocComment,
124+ CodeCompletionOperatorKind KnownOperatorKind, NullTerminatedStringRef BriefDocComment,
126125 CodeCompletionResultType ResultType,
127126 ContextFreeNotRecommendedReason NotRecommended,
128127 CodeCompletionDiagnosticSeverity DiagnosticSeverity,
@@ -138,7 +137,7 @@ ContextFreeCodeCompletionResult::createPatternOrBuiltInOperatorResult(
138137 }
139138 return new (Sink.getAllocator ()) ContextFreeCodeCompletionResult (
140139 Kind, /* AssociatedKind=*/ 0 , KnownOperatorKind, /* MacroRoles=*/ {},
141- /* IsSystem=*/ false , IsAsync, /* HasAsyncAlternative=*/ false ,
140+ /* IsSystem=*/ false , /* HasAsyncAlternative=*/ false ,
142141 CompletionString,
143142 /* ModuleName=*/ " " , BriefDocComment,
144143 /* AssociatedUSRs=*/ {}, ResultType, NotRecommended, DiagnosticSeverity,
@@ -159,8 +158,7 @@ ContextFreeCodeCompletionResult::createKeywordResult(
159158 return new (Sink.getAllocator ()) ContextFreeCodeCompletionResult (
160159 CodeCompletionResultKind::Keyword, static_cast <uint8_t >(Kind),
161160 CodeCompletionOperatorKind::None, /* MacroRoles=*/ {},
162- /* IsSystem=*/ false , /* IsAsync=*/ false ,
163- /* HasAsyncAlternative=*/ false , CompletionString,
161+ /* IsSystem=*/ false , /* HasAsyncAlternative=*/ false , CompletionString,
164162 /* ModuleName=*/ " " , BriefDocComment,
165163 /* AssociatedUSRs=*/ {}, ResultType, ContextFreeNotRecommendedReason::None,
166164 CodeCompletionDiagnosticSeverity::None, /* DiagnosticMessage=*/ " " ,
@@ -179,7 +177,7 @@ ContextFreeCodeCompletionResult::createLiteralResult(
179177 return new (Sink.getAllocator ()) ContextFreeCodeCompletionResult (
180178 CodeCompletionResultKind::Literal, static_cast <uint8_t >(LiteralKind),
181179 CodeCompletionOperatorKind::None, /* MacroRoles=*/ {},
182- /* IsSystem=*/ false , /* IsAsync= */ false , /* HasAsyncAlternative=*/ false ,
180+ /* IsSystem=*/ false , /* HasAsyncAlternative=*/ false ,
183181 CompletionString,
184182 /* ModuleName=*/ " " ,
185183 /* BriefDocComment=*/ " " ,
@@ -207,7 +205,7 @@ getDeclNameForDiagnostics(const Decl *D, CodeCompletionResultSink &Sink) {
207205ContextFreeCodeCompletionResult *
208206ContextFreeCodeCompletionResult::createDeclResult (
209207 CodeCompletionResultSink &Sink, CodeCompletionString *CompletionString,
210- const Decl *AssociatedDecl, bool IsAsync, bool HasAsyncAlternative,
208+ const Decl *AssociatedDecl, bool HasAsyncAlternative,
211209 NullTerminatedStringRef ModuleName, NullTerminatedStringRef BriefDocComment,
212210 ArrayRef<NullTerminatedStringRef> AssociatedUSRs,
213211 CodeCompletionResultType ResultType,
@@ -222,7 +220,7 @@ ContextFreeCodeCompletionResult::createDeclResult(
222220 CodeCompletionResultKind::Declaration,
223221 static_cast <uint8_t >(getCodeCompletionDeclKind (AssociatedDecl)),
224222 CodeCompletionOperatorKind::None, getCompletionMacroRoles (AssociatedDecl),
225- getDeclIsSystem (AssociatedDecl), IsAsync, HasAsyncAlternative,
223+ getDeclIsSystem (AssociatedDecl), HasAsyncAlternative,
226224 CompletionString, ModuleName, BriefDocComment, AssociatedUSRs, ResultType,
227225 NotRecommended, DiagnosticSeverity, DiagnosticMessage,
228226 getCodeCompletionResultFilterName (CompletionString, Sink.getAllocator ()),
0 commit comments