ref: 39bc2a371d9b7166fb99d8e9edefc6bf6514ff40 mrsh/.clang-format -rw-r--r-- 1.2 KiB View raw
                                                                                
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
35
36
37
38
39
40
41
42
BasedOnStyle: LLVM
IndentWidth: 4
TabWidth: 4
UseTab: Always
BreakBeforeBraces: Attach
AllowShortIfStatementsOnASingleLine: false
IndentCaseLabels: false
SortIncludes: true
IncludeCategories:
  - Regex: '<.*>'
    Priority: -1
  - Regex: '.*'
    Priority: 0
ColumnLimit: 80
SpaceBeforeParens: ControlStatements
SpaceAfterCStyleCast: false
AlignAfterOpenBracket: DontAlign
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignEscapedNewlines: DontAlign
AlignOperands: false
AlignTrailingComments: false
BinPackParameters: true
BinPackArguments: true
ContinuationIndentWidth: 8
Cpp11BracedListStyle: false
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortLoopsOnASingleLine: false
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: None
AllowShortIfStatementsOnASingleLine: false
AllowShortFunctionsOnASingleLine: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: false
BreakBeforeBinaryOperators: None
BreakBeforeTernaryOperators: false
BreakStringLiterals: true
DerivePointerAlignment: false
PointerAlignment: Right
ReflowComments: true
IndentWrappedFunctionNames: true