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

Bhopesh Bassi via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 27 10:55:32 PDT 2020


bbassi added a comment.

@stringham @MyDeveloperDay I have some questions.

- As some have pointed out DanglingParenthesis might be a confusing name, so should we try to call it something like BreakBeforeClosingBracket? When this option when is set to true we will always break before closing bracket.



- My use case is slightly different. I want each argument/parameter on it's own line and always have a break after opening bracket and before closing bracket. In other words, I don't want it to try to bin packing at all. What do you think about incorporating that use-case in current one? or if that should be a separate change.


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

https://reviews.llvm.org/D33029





More information about the cfe-commits mailing list