[PATCH] D33029: [clang-format] add option for dangling parenthesis
Jobst Ziebell via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 17 01:52:38 PST 2020
iolojz added a comment.
In D33029#1538200 <https://reviews.llvm.org/D33029#1538200>, @gracicot wrote:
> Will this option also work with dangling braces from initializers?
>
> I have some code that looks like this:
>
> return some_type_with_a_long_name{
> get_param_number_one(),
> get_param_number_two()
> };
>
>
> Clang format will put the brace at the end of the line:
>
> return some_type_with_a_long_name{
> get_param_number_one(),
> get_param_number_two()};
>
>
> I would like to keep the style of the first snippet.
I would also love that (y)
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D33029/new/
https://reviews.llvm.org/D33029
More information about the cfe-commits
mailing list