[PATCH] D147875: [clang][Diagnostics] WIP: Show line numbers when printing code snippets

Timm Bäder via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Apr 9 01:28:26 PDT 2023


tbaeder added inline comments.


================
Comment at: clang/lib/Frontend/TextDiagnostic.cpp:1141
+}
+
 /// Emit a code snippet and caret line.
----------------
Wrote this just to get things going but I hope there's something better than this...?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D147875/new/

https://reviews.llvm.org/D147875



More information about the cfe-commits mailing list