Skip to content

Commit 1f4a722

Browse files
authored
Merge pull request #75576 from ahoppen/interfacegen-semantic
[SourceKit] Run interface generation request on a deep stack
2 parents 6ef6b25 + 27fd76d commit 1f4a722

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
@@ -921,7 +921,7 @@ static void
921921
handleRequestEditorOpenInterface(const RequestDict &Req,
922922
SourceKitCancellationToken CancellationToken,
923923
ResponseReceiver Rec) {
924-
{
924+
handleSemanticRequest(Req, Rec, [Req, Rec]() {
925925
SmallVector<const char *, 8> Args;
926926
if (getCompilerArgumentsForRequestOrEmitError(Req, Args, Rec))
927927
return;
@@ -938,7 +938,7 @@ handleRequestEditorOpenInterface(const RequestDict &Req,
938938
std::optional<StringRef> InterestedUSR = Req.getString(KeyInterestedUSR);
939939
return Rec(editorOpenInterface(*Name, *ModuleName, GroupName, Args,
940940
SynthesizedExtension, InterestedUSR));
941-
}
941+
});
942942
}
943943
944944
static void handleRequestEditorOpenHeaderInterface(

0 commit comments

Comments
 (0)