-
Notifications
You must be signed in to change notification settings - Fork 2
/
.clang-format
83 lines (80 loc) · 1.89 KB
/
.clang-format
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
---
BasedOnStyle: Microsoft
IndentWidth: 4
TabWidth: 4
UseTab: Never
ColumnLimit: 80
ReflowComments: true
AccessModifierOffset: -4
UseCRLF: false
BreakBeforeBraces: Custom
BraceWrapping:
AfterCaseLabel: true
AfterClass: true
AfterEnum: true
AfterFunction: true
AfterNamespace: true
AfterStruct: true
AfterUnion: true
AfterExternBlock: true
BeforeCatch: true
BeforeElse: true
BeforeLambdaBody: true
BeforeWhile: true
IndentBraces: false
SplitEmptyFunction: true
SplitEmptyRecord: true
SplitEmptyNamespace: true
BreakBeforeBinaryOperators: None
BreakBeforeTernaryOperators: true
BreakInheritanceList: AfterComma
SeparateDefinitionBlocks: Always
AlwaysBreakTemplateDeclarations: Yes
SortIncludes: true
IncludeBlocks: Regroup
IncludeCategories:
- Regex: '^"(gtest|gmock|test)/.*"$'
Priority: 0
SortPriority: 0
- Regex: '^"radiant/TotallyRad.h"$'
Priority: 1
SortPriority: 1
- Regex: '^"radiant/.*\.h"$'
Priority: 1
SortPriority: 2
- Regex: '^".*\.h"$'
Priority: 2
SortPriority: 3
- Regex: '^<.*>$'
Priority: 2
SortPriority: 4
BinPackArguments: false
BinPackParameters: false
AllowAllArgumentsOnNextLine: false
PointerAlignment: Left
ReferenceAlignment: Left
AlignAfterOpenBracket: Align
AlignArrayOfStructures: Right
AlignConsecutiveBitFields:
Enabled: true
AcrossEmptyLines: false
AcrossComments: true
AlignConsecutiveMacros:
Enabled: true
AcrossEmptyLines: false
AcrossComments: true
AlignEscapedNewlines: Right
AlignOperands: Align
IndentCaseBlocks: false
IndentCaseLabels: true
IndentExternBlock: false
IndentGotoLabels: false
Cpp11BracedListStyle: false
SpaceBeforeCpp11BracedList: false
EmptyLineAfterAccessModifier: Always
LambdaBodyIndentation: Signature
NamespaceIndentation: None
PackConstructorInitializers: Never
SortUsingDeclarations: false
QualifierAlignment: Custom
QualifierOrder: ['static', 'constexpr', 'inline', 'type']