================ @@ -537,6 +537,9 @@ class ListSeparator { } return Separator; } + + // Enables the use of same ListSeparator object for multiple lists. + void reset() { First = true; } ---------------- jurahul wrote: Done. https://github.com/llvm/llvm-project/pull/137361