aboutsummaryrefslogtreecommitdiff
path: root/common/home/mosder/.clang-format
blob: 9b0e328ba043416f2b1f3659f5d1da238774a0b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Indentation
IndentWidth: 4
ContinuationIndentWidth: 4
UseTab: Never
IndentCaseLabels: true

# Pointer alignment
PointerAlignment: Right

# Braces alignment
SpaceBeforeParens: ControlStatements
AlignAfterOpenBracket: BlockIndent
AllowShortFunctionsOnASingleLine: false
BreakBeforeBraces: Custom
BraceWrapping:
    AfterCaseLabel: false
    AfterControlStatement: Never
    AfterEnum: false
    AfterFunction: false
    AfterNamespace: false
    AfterStruct: false
    AfterUnion: false
    BeforeElse: true
    BeforeWhile: false

# Parameters and arguments alignment
BinPackParameters: false
BinPackArguments: false

# Column limit
ColumnLimit: 160

# Max empty lines
MaxEmptyLinesToKeep: 1