mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
clang-format: tweak config to bring us closer to README.Coding.
I'm enabling "AllowAllArgumentsOnNextLine" because that's longstanding practice with many many function calls like tevent_req_callback_data() and tevent_req_data() and imho results in the most readable code at the place where this is often seen (variable declartions with tevent_req_* stuff). Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
6830b796ac
commit
071b102496
@ -12,6 +12,7 @@ BraceWrapping:
|
||||
AfterExternBlock: true
|
||||
BeforeElse: false
|
||||
BeforeWhile: false
|
||||
AfterControlStatement: MultiLine
|
||||
AllowShortIfStatementsOnASingleLine: false
|
||||
ColumnLimit: 80
|
||||
IndentCaseLabels: false
|
||||
@ -19,8 +20,14 @@ AlignAfterOpenBracket: Align
|
||||
BinPackParameters: false
|
||||
BinPackArguments: false
|
||||
AllowAllParametersOfDeclarationOnNextLine: false
|
||||
AllowAllArgumentsOnNextLine: false
|
||||
AllowAllArgumentsOnNextLine: true
|
||||
AllowShortFunctionsOnASingleLine: Empty
|
||||
AlwaysBreakAfterReturnType: None
|
||||
AlignEscapedNewlines: Left
|
||||
SortIncludes: false
|
||||
IndentGotoLabels: false
|
||||
WhitespaceSensitiveMacros: ['DEBUG']
|
||||
PenaltyReturnTypeOnItsOwnLine: 1000
|
||||
PenaltyBreakAssignment: 200
|
||||
PenaltyBreakBeforeFirstCallParameter: 100
|
||||
BreakBeforeBinaryOperators: None
|
||||
|
Loading…
Reference in New Issue
Block a user