[PATCH] D14484: Formatting constructor initializer lists by putting them always on different lines
puya added a comment. For what it's worth the original post is also the style used at our company. I am hesitant to patch clang-format as I don't want to have to maintain it so I hope this is added. Repository: rL LLVM CHANGES SINCE LAST ACTION https://reviews.llvm.org/D14484/new/ https://reviews.llvm.org/D14484 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[PATCH] D14484: [clang-format] Formatting constructor initializer lists by putting them always on different lines
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 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits