[SourceManager] Rename line and column APIs for clarity

This commit is contained in:
Owen Voorhees
2020-05-21 12:54:07 -05:00
parent 0ab9fd718a
commit 45bc578ae5
42 changed files with 145 additions and 117 deletions

View File

@@ -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;