mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[SourceKit] Refactor RelatedIdentsInfo
Remove unnecessary `ArrayRef` wrapping and introduce a struct instead of a `std::pair`.
This commit is contained in:
@@ -684,8 +684,8 @@ public:
|
||||
StringRef PrimaryFilePath, StringRef InputBufferName, unsigned Offset,
|
||||
bool CancelOnSubsequentRequest, ArrayRef<const char *> Args,
|
||||
SourceKitCancellationToken CancellationToken,
|
||||
std::function<void(const RequestResult<RelatedIdentsInfo> &)> Receiver)
|
||||
override;
|
||||
std::function<void(const RequestResult<ArrayRef<RelatedIdentInfo>> &)>
|
||||
Receiver) override;
|
||||
|
||||
void findActiveRegionsInFile(
|
||||
StringRef PrimaryFilePath, StringRef InputBufferName,
|
||||
|
||||
Reference in New Issue
Block a user