[PATCH] D14484: [clang-format] Formatting constructor initializer lists by putting them always on different lines
Andrew Somerville via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 26 19:56:07 PDT 2020
catskul added a comment.
@FStefanni, after managing to update this patch to work with the latest code, and trying out your example it appears this patch doesn't quite cover your case.
I did manage to fix it to cover your case, but I suppose at this point I should ask @MyDeveloperDay and @djasper, can/should I upload my diff to replace this one?
I'd like to adopt this diff and get it past the finish line if possible.
In D14484#2338756 <https://reviews.llvm.org/D14484#2338756>, @FStefanni wrote:
> Hi,
>
> thank you for the suggestion, but it does **not**, at least with `BreakConstructorInitializers: AfterColon` (which is what I use).
> If initializers are "small enough" to fit the constructor line, all will finish on the same line.
>
> ...
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