[PATCH] D14484: [clang-format] Formatting constructor initializer lists by putting them always on different lines
Pooya Daravi via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 1 08:36:10 PDT 2019
puya added a comment.
> Looking at this I'm wondering if this Isn't at least partially handled by the BreakConstructorInitializersStyle in combination with ConstructorInitializerAllOnOneLineOrOnePerLine style?
I’m fairly certain that’s only true when line is long enough to be broken. In which case second one ensures one per line (as opposed to different number of initializations per line) and the first one determines the style. They would not result in the requestes behavior if the line is not longer than max column. (I will double check when I am in front of a computer)
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D14484/new/
https://reviews.llvm.org/D14484
More information about the cfe-commits
mailing list