-
Notifications
You must be signed in to change notification settings - Fork 10
/
.clang-format
60 lines (59 loc) · 1.45 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
---
BasedOnStyle: LLVM
AlignArrayOfStructures: Right
AlignConsecutiveAssignments:
Enabled: true
AcrossComments: true
AlignCompound: true
AlignConsecutiveBitFields:
Enabled: true
AcrossComments: true
AlignCompound: true
PadOperators: true
AlignConsecutiveMacros:
Enabled: true
AcrossComments: true
AlignCompound: true
PadOperators: true
AlignEscapedNewlines: Left
AllowShortFunctionsOnASingleLine: None
AllowShortLambdasOnASingleLine: None
BreakBeforeBraces: Custom
BraceWrapping:
AfterCaseLabel: true
AfterClass: true
AfterControlStatement: Always
AfterFunction: true
AfterNamespace: true
AfterEnum: true
AfterStruct: true
AfterUnion: true
BeforeCatch: true
BeforeElse: true
BeforeLambdaBody: true
IndentBraces: false
SplitEmptyFunction: false
SplitEmptyRecord: false
#BreakBeforeBraces: GNU
ColumnLimit: 120
#Wanna change to regroup, but includes are still wonky so
#ends up borking stuff
IncludeBlocks: Regroup
IndentCaseBlocks: true
IndentCaseLabels: true
UseTab: Never
IndentWidth: 4
InsertBraces: true
MaxEmptyLinesToKeep: 1
NamespaceIndentation: All
PointerAlignment: Left
QualifierAlignment: Left
SeparateDefinitionBlocks: Always
#We will want to eventually sort our includes so things arent as buggy, this will let us catch wonkyness
SortIncludes: Never
#SortJavaStaticImport: After
SpaceAfterTemplateKeyword: false
SpaceBeforeCpp11BracedList: true
SpaceBeforeParensOptions:
AfterOverloadedOperator: true
Standard: c++17