Skip to content

Commit 5a39ece

Browse files
authored
Merge pull request #75786 from ahoppen/6.0/interfacegen-semantic
[6.0][SourceKit] Run interface generation request on a deep stack
2 parents 400045b + 3765316 commit 5a39ece

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/SourceKit/tools/sourcekitd/lib/Service/Requests.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -916,7 +916,7 @@ static void
916916
handleRequestEditorOpenInterface(const RequestDict &Req,
917917
SourceKitCancellationToken CancellationToken,
918918
ResponseReceiver Rec) {
919-
{
919+
handleSemanticRequest(Req, Rec, [Req, Rec]() {
920920
SmallVector<const char *, 8> Args;
921921
if (getCompilerArgumentsForRequestOrEmitError(Req, Args, Rec))
922922
return;
@@ -933,7 +933,7 @@ handleRequestEditorOpenInterface(const RequestDict &Req,
933933
std::optional<StringRef> InterestedUSR = Req.getString(KeyInterestedUSR);
934934
return Rec(editorOpenInterface(*Name, *ModuleName, GroupName, Args,
935935
SynthesizedExtension, InterestedUSR));
936-
}
936+
});
937937
}
938938
939939
static void handleRequestEditorOpenHeaderInterface(

0 commit comments

Comments
 (0)