mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-10-06 01:12:40 +02: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:
@@ -15,9 +15,11 @@ AlignConsecutiveBitFields: AcrossComments
|
||||
AlignConsecutiveMacros: AcrossComments
|
||||
AlignEscapedNewlines: Left
|
||||
|
||||
AllowAllArgumentsOnNextLine: false
|
||||
AllowAllParametersOfDeclarationOnNextLine: false
|
||||
AlwaysBreakAfterReturnType: AllDefinitions
|
||||
BinPackParameters: false
|
||||
BinPackArguments: true
|
||||
BinPackParameters: AlwaysOnePerLine
|
||||
BreakBeforeBinaryOperators: None
|
||||
BreakBeforeBraces: GNU
|
||||
BreakBeforeTernaryOperators: false
|
||||
|
Reference in New Issue
Block a user