mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 17:33:25 +00:00
.clang-format: Adjust bin-packing of parameters and arguments
As per GIMP's style documentation [0]: - put function parameters on their own lines, - pack function arguments to fit line and only then wrap. [0] https://developer.gimp.org/core/coding_style/
This commit is contained in:
parent
7849f8cedb
commit
e6bef93d73
1 changed files with 3 additions and 1 deletions
|
@ -15,9 +15,11 @@ AlignConsecutiveBitFields: AcrossComments
|
||||||
AlignConsecutiveMacros: AcrossComments
|
AlignConsecutiveMacros: AcrossComments
|
||||||
AlignEscapedNewlines: Left
|
AlignEscapedNewlines: Left
|
||||||
|
|
||||||
|
AllowAllArgumentsOnNextLine: false
|
||||||
AllowAllParametersOfDeclarationOnNextLine: false
|
AllowAllParametersOfDeclarationOnNextLine: false
|
||||||
AlwaysBreakAfterReturnType: AllDefinitions
|
AlwaysBreakAfterReturnType: AllDefinitions
|
||||||
BinPackParameters: false
|
BinPackArguments: true
|
||||||
|
BinPackParameters: AlwaysOnePerLine
|
||||||
BreakBeforeBinaryOperators: None
|
BreakBeforeBinaryOperators: None
|
||||||
BreakBeforeBraces: GNU
|
BreakBeforeBraces: GNU
|
||||||
BreakBeforeTernaryOperators: false
|
BreakBeforeTernaryOperators: false
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue