[clang-format] Change AllowAllParametersOfDeclarationOnNextLine=false

With this we prefer to format a function declaration as:

  int function(arg1,
               arg2,
               arg3);

Rather than:

  int function(
    arg1, arg2, arg3);

Cons: This makes the definition of NewParams structures a bit worse.
This commit is contained in:
David Capello 2024-12-12 19:29:01 -03:00
parent 17bb11fc42
commit 1447e829f7

View File

@ -56,7 +56,7 @@ AlignTrailingComments:
Kind: Always Kind: Always
OverEmptyLines: 0 OverEmptyLines: 0
AllowAllArgumentsOnNextLine: false AllowAllArgumentsOnNextLine: false
AllowAllParametersOfDeclarationOnNextLine: true AllowAllParametersOfDeclarationOnNextLine: false
AllowBreakBeforeNoexceptSpecifier: Never AllowBreakBeforeNoexceptSpecifier: Never
AllowShortBlocksOnASingleLine: Never AllowShortBlocksOnASingleLine: Never
AllowShortCaseExpressionOnASingleLine: true AllowShortCaseExpressionOnASingleLine: true