Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions contrib/gdk-pixbuf/.clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Coding style is similar to https://gitlab.gnome.org/GNOME/gdk-pixbuf/
# IndentWidth is reduced to 4 instead of 8.
Language: Cpp
BasedOnStyle: GNU
IndentWidth: 4
AlwaysBreakAfterDefinitionReturnType: All
BreakBeforeBinaryOperators: true
BinPackParameters: false
SpaceAfterCStyleCast: true
IndentCaseLabels: false
IndentCaseBlocks: false
BreakBeforeBraces: Custom
AlignAfterOpenBracket: Align
BraceWrapping:
AfterCaseLabel: false
AfterEnum: true
AfterFunction: true
AfterStruct: true
AfterUnion: true
BeforeElse: false
BeforeWhile: false
IndentBraces: false
ColumnLimit: 0
Loading