[clang] [clang-format] Add BreakFunctionDefinitionParameters option (PR #84988)
Björn Schäpers via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 25 13:19:35 PDT 2024
================
@@ -5317,6 +5318,12 @@ bool TokenAnnotator::mustBreakBefore(const AnnotatedLine &Line,
if (Right.NewlinesBefore > 1 && Style.MaxEmptyLinesToKeep > 0)
return true;
+ if (Style.BreakFunctionDefinitionParameters && Line.MightBeFunctionDecl &&
----------------
HazardyKnusperkeks wrote:
Are all those checks needed?
https://github.com/llvm/llvm-project/pull/84988
More information about the cfe-commits
mailing list