clang-format: adjust argument packing and consecutive declarations

This commit is contained in:
Daniel Campello 2021-07-22 10:11:48 -06:00 committed by Daniel Campello
parent 8baa78b254
commit 3da17e5fbb

View File

@ -1,10 +1,11 @@
--- ---
AlignAfterOpenBracket: 'Align' AlignAfterOpenBracket: 'Align'
AlignConsecutiveAssignments: 'false' AlignConsecutiveAssignments: 'false'
AlignConsecutiveDeclarations: 'true' AlignConsecutiveDeclarations: 'false'
AlignConsecutiveMacros: 'true' AlignConsecutiveMacros: 'true'
AlignOperands: 'true' AlignOperands: 'true'
AlignTrailingComments: 'true' AlignTrailingComments: 'true'
AllowAllArgumentsOnNextLine: 'false'
AllowAllParametersOfDeclarationOnNextLine: 'false' AllowAllParametersOfDeclarationOnNextLine: 'false'
AllowShortBlocksOnASingleLine: 'false' AllowShortBlocksOnASingleLine: 'false'
AllowShortCaseLabelsOnASingleLine: 'false' AllowShortCaseLabelsOnASingleLine: 'false'
@ -12,7 +13,7 @@ AllowShortFunctionsOnASingleLine: 'Inline'
AllowShortIfStatementsOnASingleLine: 'false' AllowShortIfStatementsOnASingleLine: 'false'
AlwaysBreakAfterReturnType: 'All' AlwaysBreakAfterReturnType: 'All'
BinPackParameters: 'false' BinPackParameters: 'false'
BinPackArguments: 'true' BinPackArguments: 'false'
BreakBeforeBraces: 'Linux' BreakBeforeBraces: 'Linux'
DerivePointerAlignment: 'false' DerivePointerAlignment: 'false'
IndentCaseLabels: 'false' IndentCaseLabels: 'false'
@ -32,8 +33,6 @@ TabWidth: '8'
UseTab: 'Always' UseTab: 'Always'
PenaltyBreakAssignment: '3' PenaltyBreakAssignment: '3'
PenaltyBreakString: '10'
PenaltyExcessCharacter: '1'
PenaltyBreakBeforeFirstCallParameter: '15' PenaltyBreakBeforeFirstCallParameter: '15'
IncludeCategories: IncludeCategories: