tbaeder added inline comments.
================
Comment at: clang/lib/Frontend/TextDiagnostic.cpp:1195-1197
auto indentForLineNumbers = [&] {
- if (MaxLineNoDisplayWidth > 0) {
- OS << ' ';
- for (unsigned I = 0; I != MaxLineNoDisplayWidth; ++I)
- OS << ' ';
- OS << " | ";
- }
+ if (MaxLineNoDisplayWidth > 0)
+ OS.indent(MaxLineNoDisplayWidth + 4);
----------------
aaron.ballman wrote:
> This drops the output of `|` -- is that intentional?
No! Looks like I got a bit too excited about removing code.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D151078/new/
https://reviews.llvm.org/D151078
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits