-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
68 lines (68 loc) · 1.95 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
BasedOnStyle: microsoft
Language: Cpp
NamespaceIndentation: All
AlignAfterOpenBracket: Align
AccessModifierOffset: -4
Cpp11BracedListStyle: true
PointerAlignment: Left
ReferenceAlignment: Pointer
BreakBeforeBraces: Custom
ReflowComments: true
BreakInheritanceList: AfterColon
BreakConstructorInitializers: AfterColon
SpaceBeforeCtorInitializerColon: false
AllowAllConstructorInitializersOnNextLine: false
ConstructorInitializerAllOnOneLineOrOnePerLine: true
AllowShortEnumsOnASingleLine: false
AllowShortBlocksOnASingleLine: Empty
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: Empty
AllowShortLambdasOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: false
BraceWrapping:
AfterCaseLabel: true
AfterClass: true
AfterControlStatement: Always
AfterEnum: true
AfterFunction: true
AfterNamespace: true
AfterStruct: true
AfterUnion: false
AfterExternBlock: true
BeforeCatch: true
BeforeElse: true
BeforeLambdaBody: true
BeforeWhile: true
IndentBraces: false
SplitEmptyFunction: false
SplitEmptyRecord: false
SplitEmptyNamespace: false
IndentWidth: 4
TabWidth: 4
UseCRLF: false
UseTab: Always
SortIncludes: Never
KeepEmptyLinesAtTheStartOfBlocks: false
EmptyLineAfterAccessModifier: Never
EmptyLineBeforeAccessModifier: Always
LambdaBodyIndentation: Signature
IndentPPDirectives: BeforeHash
PPIndentWidth: -1
SpaceAfterTemplateKeyword: true
AlwaysBreakTemplateDeclarations: Yes
SpacesInAngles: Never
IndentRequires: true
BreakBeforeConceptDeclarations: true
ColumnLimit: 128
FixNamespaceComments: true
ShortNamespaceLines: 0
AlignConsecutiveAssignments: None
AlignConsecutiveBitFields: None
AlignConsecutiveDeclarations: None
AlignConsecutiveMacros: None
AlignEscapedNewlines: DontAlign
AlignOperands: DontAlign
AlignArrayOfStructures: None
AlignTrailingComments: false
ContinuationIndentWidth: 4