mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[SourceManager] Rename line and column APIs for clarity
This commit is contained in:
@@ -1295,7 +1295,7 @@ static void resolveCursor(
|
||||
std::vector<RefactoringKind> Scratch;
|
||||
RangeConfig Range;
|
||||
Range.BufferId = BufferID;
|
||||
auto Pair = SM.getLineAndColumn(Loc);
|
||||
auto Pair = SM.getPresumedLineAndColumnForLoc(Loc);
|
||||
Range.Line = Pair.first;
|
||||
Range.Column = Pair.second;
|
||||
Range.Length = Length;
|
||||
|
||||
Reference in New Issue
Block a user