mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user