[llvm] [NFC][LLVM][CodeGen] Refactor MIR Printer (PR #137361)
Rahul Joshi via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 25 14:46:32 PDT 2025
jurahul wrote:
I was just thinking the same. Let me try it
On Fri, Apr 25, 2025 at 2:42 PM Craig Topper ***@***.***>
wrote:
> ***@***.**** commented on this pull request.
> ------------------------------
>
> In llvm/include/llvm/ADT/StringExtras.h
> <https://github.com/llvm/llvm-project/pull/137361#discussion_r2060917676>:
>
> > + // Enables the use of same ListSeparator object for multiple lists.
> + void reset() { First = true; }
>
> Would LS = ListSeparator() work to reset it?
>
> —
> Reply to this email directly, view it on GitHub
> <https://github.com/llvm/llvm-project/pull/137361#discussion_r2060917676>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/APRMUB5IDLLAMD3NOE6J2GL23KT57AVCNFSM6AAAAAB34COYU6VHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDOOJVGMZTGOJYGU>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
https://github.com/llvm/llvm-project/pull/137361
More information about the llvm-commits
mailing list