Skip to content

Commit b1adb78

Browse files
authored
Merge pull request #80143 from hamishknight/add-loc
2 parents 561071b + 6942c9b commit b1adb78

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/Parse/Parser.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,9 @@ bool IDEInspectionSecondPassRequest::evaluate(
125125
auto state = parserState->takeIDEInspectionDelayedDeclState();
126126
auto &Ctx = SF->getASTContext();
127127

128+
auto inspectionLoc = Ctx.SourceMgr.getIDEInspectionTargetLoc();
129+
PrettyStackTraceLocation stackTrace(Ctx, "IDE inspecting", inspectionLoc);
130+
128131
auto BufferID = Ctx.SourceMgr.getIDEInspectionTargetBufferID();
129132
Parser TheParser(BufferID, *SF, nullptr, parserState);
130133

0 commit comments

Comments
 (0)