They were both only called from one place and did very similar things. Merge them into one, so we only have to iterate the source line once to generate the SourceMap.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D151100
[clang][Diagnostics] Merge byte/column mapping functions into one. ClosedPublic Authored by tbaeder on May 22 2023, 7:17 AM.
Details Summary They were both only called from one place and did very similar things. Merge them into one, so we only have to iterate the source line once to generate the SourceMap.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.May 22 2023, 8:57 AM Closed by commit rG50f0b8d219cb: [clang][Diagnostics][NFC] Merge byte/column mapping functions into one. (authored by tbaeder). · Explain WhyMay 31 2023, 1:06 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 526949 clang/lib/Frontend/TextDiagnostic.cpp
|