-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clang-format
121 lines (120 loc) · 3.52 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
# Format Style Options - Created with Clang Power Tools
---
AlwaysBreakTemplateDeclarations: true
AccessModifierOffset: -4
AlignAfterOpenBracket: Align
AlignArrayOfStructures: Right
AlignConsecutiveAssignments: AcrossComments
AlignConsecutiveBitFields: AcrossEmptyLinesAndComments
AlignConsecutiveDeclarations: AcrossComments
AlignConsecutiveMacros: AcrossComments
##AlignEscapedNewlines : LeftWithLastLine
AlignOperands: Align
AlignTrailingComments: true
AllowAllArgumentsOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: Empty
AllowShortCaseLabelsOnASingleLine: false
AllowShortEnumsOnASingleLine: false
AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: false
AllowShortFunctionsOnASingleLine : Empty
##BreakAfterReturnType : Automatic
##BreakTemplateDeclarations : Yes
BinPackParameters : true
BitFieldColonSpacing : Before
BreakBeforeBraces: Custom
BraceWrapping:
AfterEnum: true
AfterStruct: true
AfterClass : true
AfterControlStatement : Never
AfterCaseLabel : true
AfterFunction : true
AfterNamespace : true
AfterUnion : true
AfterExternBlock : true
BeforeElse : true
BeforeCatch : false
BeforeLambdaBody : false
BeforeWhile : false
SplitEmptyFunction : false
SplitEmptyRecord : false
SplitEmptyNamespace : false
BreakAfterAttributes : Always
##BreakBeforeTemplateCloser : true
BreakConstructorInitializers : AfterColon
##BreakFunctionDefinitionParameters : false
BreakInheritanceList : AfterColon
BreakStringLiterals : true
ColumnLimit: 0
ContinuationIndentWidth: 4
Cpp11BracedListStyle : false
EmptyLineAfterAccessModifier : Never
EmptyLineBeforeAccessModifier : Always
IndentAccessModifiers : false
IndentCaseBlocks : false
IndentCaseLabels : false
##IndentExportBlock : true
IndentGotoLabels : false
IndentPPDirectives : BeforeHash
InsertBraces : false
IndentWrappedFunctionNames : false
IndentWidth: 4
##KeepEmptyLines :
## AtEndOfFile: true
## AtStartOfBlock: false
## AtStartOfFile: false
LambdaBodyIndentation : Signature
Language : Cpp
MaxEmptyLinesToKeep : 1
NamespaceIndentation : All
PackConstructorInitializers : NextLineOnly
PointerAlignment : Left
QualifierAlignment : Left
##QualifierOrder: [friend, static, constexpr, virtual, inline, const, type]
ReferenceAlignment : Left
##RemoveEmptyLinesInUnwrappedLines : true
SeparateDefinitionBlocks : Always
SortIncludes: Never
SortUsingDeclarations : LexicographicNumeric
SpaceAfterCStyleCast : false
SpaceAfterLogicalNot : false
SpaceAfterTemplateKeyword : true
SpaceAroundPointerQualifiers : After
SpaceBeforeAssignmentOperators : true
SpaceBeforeCaseColon : false
SpaceBeforeCtorInitializerColon : true
SpaceBeforeJsonColon : false
SpaceBeforeCpp11BracedList : true
SpaceBeforeParens : Custom
SpaceBeforeParensOptions :
AfterControlStatements : true
AfterForeachMacros : false
AfterFunctionDeclarationName : false
AfterIfMacros : false
AfterOverloadedOperator : false
AfterPlacementOperator : true
AfterRequiresInClause : true
AfterRequiresInExpression : false
BeforeNonEmptyParentheses : false
SpaceBeforeRangeBasedForLoopColon : true
SpaceBeforeSquareBrackets : false
SpaceInEmptyBlock : true
SpacesBeforeTrailingComments : 4
SpacesInAngles : Never
SpacesInContainerLiterals : false
SpacesInLineCommentPrefix:
Minimum: 1
Maximum: 1
SpacesInParens : Custom
SpacesInParensOptions :
InConditionalStatements : true
InCStyleCasts : false
InEmptyParentheses : false
Other : true
SpacesInSquareBrackets : true
Standard : c++20
TabWidth: 4
##WrapNamespaceBodyWithEmptyLines : Leave
UseTab: Never