[PATCH] D151215: [clang][Diagnostics] Split source ranges into line ranges before...
Timm Bäder via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue May 23 07:44:51 PDT 2023
tbaeder created this revision.
tbaeder added reviewers: aaron.ballman, cjdb, clang.
Herald added a project: All.
tbaeder requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
... emitting them.
This makes later code easier to understand, since we emit the code
snippets line by line anyway.
It also fixes the weird underlinig of multi-line source ranges.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D151215
Files:
clang/lib/Frontend/TextDiagnostic.cpp
clang/test/Misc/caret-diags-multiline.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151215.524713.patch
Type: text/x-patch
Size: 10514 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230523/3366ce4a/attachment-0001.bin>
More information about the cfe-commits
mailing list