.clang-format 716 Bytes
Newer Older
1
2
3
4
5
6
7
8
BasedOnStyle: Google
IndentWidth: 2
ColumnLimit: 120
AllowShortFunctionsOnASingleLine: Empty
DerivePointerAlignment: false
PointerAlignment: Left
NamespaceIndentation: None
SortIncludes: true
9
10
11
12
13
14
15
AllowShortLoopsOnASingleLine: false
BinPackParameters: false              # Prevents packing parameters in declarations
BinPackArguments: false               # Prevents packing arguments in function calls
AlignAfterOpenBracket: AlwaysBreak    # Forces a break after the opening parenthesis
AlignOperands: Align                  # Aligns arguments vertically
PenaltyBreakBeforeFirstCallParameter: 1  # Encourages breaking before the first argument
PenaltyReturnTypeOnItsOwnLine: 100    # Keeps return type with function name