[all-commits] [llvm/llvm-project] 50f0b8: [clang][Diagnostics][NFC] Merge byte/column mappin...
Timm Bäder via All-commits
all-commits at lists.llvm.org
Wed May 31 01:06:48 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 50f0b8d219cb1557625ce768ea78670d13671e1d
https://github.com/llvm/llvm-project/commit/50f0b8d219cb1557625ce768ea78670d13671e1d
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2023-05-31 (Wed, 31 May 2023)
Changed paths:
M clang/lib/Frontend/TextDiagnostic.cpp
Log Message:
-----------
[clang][Diagnostics][NFC] Merge byte/column mapping functions into one.
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.
Differential Revision: https://reviews.llvm.org/D151100
More information about the All-commits
mailing list