mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-02 17:03:26 +00: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:
parent
841a30bed1
commit
84a501f516
1 changed files with 6 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue