[PATCH] D33029: [clang-format] add option for dangling parenthesis

Felix Benning via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 16 09:21:08 PDT 2021


FelixBenning added a comment.

If I understood it correctly there is a `BraceWrapping` group where `BraceWrappingAfterControlStatementStyle AfterControlStatement` is quite similar. It has a `Never`, `MultiLine`, and `Always` options. There is also a `bool AfterFunction` option which is currently only a bool. If it were changed to an enum it could provide this option as the `MultiLine` option. I do not really understand why there is a different option for control statements and functions though...


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

https://reviews.llvm.org/D33029



More information about the cfe-commits mailing list