Open igagis opened 2 years ago
@llvm/issue-subscribers-clang-format
but
typename type_or_void<std::invoke_result<F, func_arg_type, size_t>>::type>::type func_return_type;
is not 120 why do you expect it to break between type
and >
?
Because of the
AlignAfterOpenBracket: BlockIndent
option, same way it broke before );
in the function declaration in the sample code snippet above.
to reproduce
.clang-format
main.cpp
:expected result
actual result
As one can see, closing
)
for function is moved to a new line, but closing>
for template is not moved to the new line.version