[clang] [clang-format] Add BreakParametersAfter formatting option (PR #181281)
Björn Schäpers via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 17 11:18:59 PST 2026
================
@@ -4248,6 +4246,23 @@ void TokenAnnotator::calculateFormattingInformation(AnnotatedLine &Line) const {
ChildSize + Current->SpacesRequiredBefore;
}
+ if (Style.BreakParametersAfter > 0 && Prev->is(tok::l_paren) &&
----------------
HazardyKnusperkeks wrote:
`AllowAllArgumentsOnNextLine` works also on braced initializer lists, this should also apply for them.
https://github.com/llvm/llvm-project/pull/181281
More information about the cfe-commits
mailing list