Hi,
Let’s say I have some big multi-line function call or multi-line template argument list.
Foo(
param1,
param2,
param3,
param4
);
template <
typename T,
std::enable_if_t<
…
- = nullptr
I want the closing brackets to be at the same indentation level with their opening counterparts. But clang-format always put the closing brackets to the end of the last parameter/argument. Is there a way to solve this? Thanks.
Foo(
param1,
param2,
param3,
param4); // how to move ); to next line
template <
typename T,
std::enable_if_t<
…>* = nullptr> // how to move >* = nullptr and > to next lines
Best regards,
Han