mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #75490 from ahoppen/swiftparser-on-deep-stack
[SourceKit] Run SwiftParser on a deep stack for the related identifiers request
This commit is contained in:
@@ -2537,6 +2537,8 @@ void SwiftLangSupport::findRelatedIdentifiersInFile(
|
||||
std::function<void(const RequestResult<RelatedIdentsResult> &)> Receiver;
|
||||
SwiftInvocationRef Invok;
|
||||
|
||||
bool requiresDeepStack() override { return true; }
|
||||
|
||||
#if SWIFT_BUILD_SWIFT_SYNTAX
|
||||
// FIXME: Don't silently eat errors here.
|
||||
RelatedIdentsResult getRelatedIdents(SourceFile *SrcFile,
|
||||
|
||||
Reference in New Issue
Block a user