[llvm] [LegacyPM][CGSCC] Print banner with newline when filter-print-funcs is given. (PR #153699)

Andy Kaylor via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 14 17:32:31 PDT 2025


================
@@ -701,12 +700,11 @@ namespace {
           }
         } else if (isFunctionInPrintList("*")) {
           PrintBannerOnce();
-          OS << "\nPrinting <null> Function\n";
+          OS << "Printing <null> Function\n";
----------------
andykaylor wrote:

Doesn't this drop a newline for all functions after the first one printed? It's probably an empty line, but that seems good to me.

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


More information about the llvm-commits mailing list