summaryrefslogtreecommitdiff
path: root/.clang-format
blob: 7895ada36da80b2667f5f1929465d4534e023ebf (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
Language: Cpp
BasedOnStyle: LLVM
AlignEscapedNewlinesLeft: true
AlwaysBreakAfterReturnType: TopLevelDefinitions
BreakBeforeBinaryOperators: All
BreakBeforeBraces: GNU
ColumnLimit: 80
ContinuationIndentWidth: 2
ForEachMacros: [FOR_EACH_TAIL, FOR_EACH_TAIL_SAFE]
IncludeCategories:
  - Regex: '^<config\.h>$'
    Priority: -1
  - Regex: '^<'
    Priority: 1
  - Regex: '^"lisp\.h"$'
    Priority: 2
  - Regex: '.*'
    Priority: 3
KeepEmptyLinesAtTheStartOfBlocks: false
MaxEmptyLinesToKeep: 1
PenaltyBreakBeforeFirstCallParameter: 2000
SpaceAfterCStyleCast: true
SpaceBeforeParens: Always

# Local Variables:
# mode: yaml
# End: