[PATCH] D14484: [clang-format] Formatting constructor initializer lists by putting them always on different lines
FStefanni added a comment. Herald added a subscriber: danielkiss. Hi to all, I am also interested to this option, since match my personal style, but more important, in my experience, this kind of formatting is very used. I hope it will be implemented in a near future. Which is the current status? Is someone going to support this? Regards. 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
FStefanni added a comment. 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. E.g. MyClass::MyClass(): a(), b() {} But what I like is: MyClass::MyClass(): a(), b() {} Regards. 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
FStefanni added a comment. Hi, in case of any doubt: yet it is of interest. 6 years old means only that it has not been "fixed" in the meanwhile... Please consider that there are not many code formatters for C++, since it is quite a complex language (and a lot of different formatting conventions!). So we are just waiting to have integrated the formatting rules that we need. Regards. 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