[llvm] [NFC][LLVM][Support] Misc code cleanup in ScopedPrinter (PR #161462)
Rahul Joshi via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 1 08:32:23 PDT 2025
================
@@ -220,59 +220,59 @@ class LLVM_ABI ScopedPrinter {
}
virtual void printNumber(StringRef Label, char Value) {
- startLine() << Label << ": " << static_cast<int>(Value) << "\n";
+ startLine() << Label << ": " << static_cast<int>(Value) << '\n';
----------------
jurahul wrote:
Thanks. I recall correctly that single character was preferred, but that was a decade ago, so maybe it's not critical for performance anymore. I'll undo the changes related to this.
https://github.com/llvm/llvm-project/pull/161462
More information about the llvm-commits
mailing list