[SourceKit] Merge RenameLoc and RenameLocation

It’s easier to understand the code if we don’t have these two nearly, but not quite, identical types.
This commit is contained in:
Alex Hoppen
2023-11-17 18:09:09 -08:00
parent d4ee4fa308
commit e538a5ed61
11 changed files with 145 additions and 153 deletions

View File

@@ -695,7 +695,7 @@ public:
CancellableResult<std::vector<CategorizedRenameRanges>>
findRenameRanges(llvm::MemoryBuffer *InputBuf,
ArrayRef<RenameLocations> RenameLocations,
ArrayRef<RenameLoc> RenameLocations,
ArrayRef<const char *> Args) override;
void findLocalRenameRanges(StringRef Filename, unsigned Line, unsigned Column,