[all-commits] [llvm/llvm-project] cf52a8: SourceManager: Simplify by inlining what remains o...
Duncan P. N. Exon Smith via All-commits
all-commits at lists.llvm.org
Fri Oct 23 11:57:01 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: cf52a85ddc9be165daca3d32521747c898f4ffd1
https://github.com/llvm/llvm-project/commit/cf52a85ddc9be165daca3d32521747c898f4ffd1
Author: Duncan P. N. Exon Smith <dexonsmith at apple.com>
Date: 2020-10-23 (Fri, 23 Oct 2020)
Changed paths:
M clang/lib/Basic/SourceManager.cpp
Log Message:
-----------
SourceManager: Simplify by inlining what remains of ComputeLineNumbers, NFC
Use `LineOffsetMapping:get` directly and remove/inline the helper
`ComputeLineNumbers`, simplifying the callers.
Differential Revision: https://reviews.llvm.org/D89922
More information about the All-commits
mailing list