[SourceKit] Lowercase members of ResolvedLoc

This type will get exposed to Swift and the members should be lowercase so that they read nicely in Swift.
This commit is contained in:
Alex Hoppen
2023-11-14 15:42:34 -08:00
parent 33e9c30ede
commit 1047328b63
5 changed files with 24 additions and 24 deletions

View File

@@ -2580,12 +2580,12 @@ void SwiftLangSupport::findRelatedIdentifiersInFile(
Locs.getLocations(), /*NewName=*/StringRef(), *SrcFile, Diags);
for (auto ResolvedLoc : ResolvedLocs) {
if (ResolvedLoc.Range.isInvalid()) {
if (ResolvedLoc.range.isInvalid()) {
continue;
}
unsigned Offset = SrcMgr.getLocOffsetInBuffer(
ResolvedLoc.Range.getStart(), BufferID);
Ranges.emplace_back(Offset, ResolvedLoc.Range.getByteLength());
ResolvedLoc.range.getStart(), BufferID);
Ranges.emplace_back(Offset, ResolvedLoc.range.getByteLength());
}
};
Action();