aboutsummaryrefslogtreecommitdiff
path: root/common/home/mosder/.clang-format
blob: 22282fe1bbf842c8f34237c88c3b5e8b4ee02e4d (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
# Indentation
IndentWidth: 4
ContinuationIndentWidth: 4
UseTab: Never

# 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

# Column limit
ColumnLimit: 160

# Max empty lines
MaxEmptyLinesToKeep: 1