[PATCH] D151100: [clang][Diagnostics] Merge byte/column mapping functions into one.

Timm Bäder via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 22 07:17:12 PDT 2023


tbaeder created this revision.
tbaeder added reviewers: cjdb, aaron.ballman.
Herald added a project: All.
tbaeder requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

  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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D151100

Files:
  clang/lib/Frontend/TextDiagnostic.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151100.524295.patch
Type: text/x-patch
Size: 3974 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230522/ea431bda/attachment.bin>


More information about the cfe-commits mailing list