summaryrefslogtreecommitdiff
path: root/.clang-format
blob: 44200a39952f87f3798be309d8971f515c38c37a (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: GNU
AlignEscapedNewlinesLeft: true
AlwaysBreakAfterReturnType: TopLevelDefinitions
BreakBeforeBinaryOperators: All
BreakBeforeBraces: GNU
ColumnLimit: 70
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: