[llvm] [llvm][DebugInfo] Use formatv in LVCompare (PR #192001)

Konrad Kleine via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 15 05:37:35 PDT 2026


================
@@ -405,10 +405,10 @@ void LVCompare::printSummary() const {
   auto PrintSeparator = [&]() { OS << Separator << "\n"; };
   auto PrintHeadingRow = [&](const char *T, const char *U, const char *V,
                              const char *W) {
-    OS << format("%-9s%9s  %9s  %9s\n", T, U, V, W);
+    OS << formatv("{0, -9}{1,9}  {2,9}  {3,9}\n", T, U, V, W);
----------------
kwk wrote:

You're right. I'm sorry. It's fixed now.

https://github.com/llvm/llvm-project/pull/192001


More information about the llvm-commits mailing list