mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-10-06 01:12:40 +02:00
clang-format update
- Add Alignment for bitfields. - BreakBefore*Operators: adhere to GIMP Coding Style. - Align... AcrossComments: allows section comments in long lists w/o disturbing alignment (e.g. the struct at top of bmp-load.c). Alignment can still be reset with a newline.
This commit is contained in:
@@ -9,15 +9,18 @@ BasedOnStyle: GNU
|
||||
|
||||
AlignAfterOpenBracket: Align
|
||||
AlignArrayOfStructures: Left
|
||||
AlignConsecutiveAssignments: Consecutive
|
||||
AlignConsecutiveDeclarations: Consecutive
|
||||
AlignConsecutiveMacros: Consecutive
|
||||
AlignConsecutiveAssignments: AcrossComments
|
||||
AlignConsecutiveDeclarations: AcrossComments
|
||||
AlignConsecutiveBitFields: AcrossComments
|
||||
AlignConsecutiveMacros: AcrossComments
|
||||
AlignEscapedNewlines: Left
|
||||
|
||||
AllowAllParametersOfDeclarationOnNextLine: false
|
||||
AlwaysBreakAfterReturnType: AllDefinitions
|
||||
BinPackParameters: false
|
||||
BreakBeforeBinaryOperators: None
|
||||
BreakBeforeBraces: GNU
|
||||
BreakBeforeTernaryOperators: false
|
||||
IndentWidth: 2
|
||||
PointerAlignment: Right
|
||||
UseTab: Never
|
||||
|
Reference in New Issue
Block a user