-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.clang-format
executable file
·46 lines (39 loc) · 1 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
BasedOnStyle: Google
IndentWidth: 4
ColumnLimit: 100
AllowShortCaseLabelsOnASingleLine: true
AllowShortFunctionsOnASingleLine: true
AccessModifierOffset: -4
BraceWrapping:
AfterEnum: false
AfterStruct: false
AfterClass: false
AfterFunction: false
AfterNamespace: false
AfterUnion: false
BeforeCatch: false
BeforeElse: false
AlignConsecutiveShortCaseStatements:
Enabled: true
AcrossEmptyLines: true
AcrossComments: true
AlignCaseColons: false
CompactNamespaces: false
AlignConsecutiveAssignments: true
AlignConsecutiveDeclarations: true
AlignConsecutiveMacros: true
AlignConsecutiveBitFields: true
AlignEscapedNewlines: true
AlignTrailingComments: true
AlignAfterOpenBracket: true
AlwaysBreakTemplateDeclarations: true
BreakBeforeConceptDeclarations: true
Cpp11BracedListStyle: true
FixNamespaceComments: true
IndentRequires: true
IncludeBlocks: Preserve
PointerAlignment: Left
MaxEmptyLinesToKeep: 2
SortIncludes: true
SortUsingDeclarations: true
QualifierAlignment: Left