[PATCH] D14484: [clang-format] Formatting constructor initializer lists by putting them always on different lines

Hantao Pan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 28 01:22:22 PST 2023


HantaoPan added a comment.

In D14484#4087827 <https://reviews.llvm.org/D14484#4087827>, @owenpan wrote:

> In D14484#4079711 <https://reviews.llvm.org/D14484#4079711>, @HantaoPan wrote:
>
>> Hi,
>> I am interesting in this feature too. You know, consistency is crucial to a large program...
>>
>> regards,
>
> As mentioned above, it has been added in D108752 <https://reviews.llvm.org/D108752>. See also https://clang.llvm.org/docs/ClangFormatStyleOptions.html#packconstructorinitializers.

Thank you! Is there a similar flag with respect to function parameter?


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D14484/new/

https://reviews.llvm.org/D14484



More information about the llvm-commits mailing list