This repository has been archived by the owner on Feb 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.clang-format
108 lines (108 loc) · 3 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
---
UseTab: Always
UseCRLF: false
TabWidth: 4
SpacesInSquareBrackets: false
SpacesInParentheses: false
SpacesInLineCommentPrefix:
Minimum: 1
Maximum: 1
SpaceInEmptyBlock: false
SpaceInEmptyParentheses: false
SpaceBeforeParensOptions:
AfterControlStatements: true
AfterForeachMacros: false
AfterFunctionDeclarationName: false
AfterFunctionDefinitionName: false
AfterIfMacros: false
AfterOverloadedOperator: false
AfterRequiresInClause: false
BeforeNonEmptyParentheses: false
AfterRequiresInExpression: false
LineEnding: LF
NamespaceIndentation: All
Language: Cpp
IncludeBlocks: Regroup
CompactNamespaces: false
Standard: c++17
BreakBeforeBraces: Attach
InsertNewlineAtEOF: true
InsertTrailingCommas: None
IndentWidth: 4
IndentRequiresClause: false
SortIncludes: CaseSensitive
SpaceAfterCStyleCast: false
SpaceAfterLogicalNot: false
SpaceAfterTemplateKeyword: false
SpaceAroundPointerQualifiers: Before
SpaceBeforeAssignmentOperators: true
SpaceBeforeCaseColon: false
SortUsingDeclarations: Lexicographic
SpaceBeforeCpp11BracedList: false
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeParens: ControlStatementsExceptControlMacros
SpaceBeforeRangeBasedForLoopColon: true
SpaceBeforeSquareBrackets: false
SpacesInAngles: Never
SpacesInCStyleCastParentheses: false
SpacesInConditionalStatement: false
SpacesInContainerLiterals: false
SeparateDefinitionBlocks: Always
RequiresExpressionIndentation: OuterScope
RequiresClausePosition: SingleLine
ReferenceAlignment: Pointer
QualifierAlignment: Left
PointerAlignment: Left
PenaltyIndentedWhitespace: 20
PackConstructorInitializers: CurrentLine
PPIndentWidth: 4
LambdaBodyIndentation: Signature
KeepEmptyLinesAtTheStartOfBlocks: false
IndentPPDirectives: BeforeHash
IndentGotoLabels: true
IndentExternBlock: Indent
IndentCaseLabels: true
IndentCaseBlocks: false
IndentAccessModifiers: false
EmptyLineBeforeAccessModifier: Always
EmptyLineAfterAccessModifier: Never
DisableFormat: false
DerivePointerAlignment: false
Cpp11BracedListStyle: true
BraceWrapping:
SplitEmptyNamespace: false
SplitEmptyRecord: false
SplitEmptyFunction: false
IndentBraces: false
BeforeWhile: false
BeforeLambdaBody: false
BeforeElse: false
BeforeCatch: false
AfterClass: false
AfterCaseLabel: false
AfterControlStatement: Never
AfterEnum: false
AfterFunction: false
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: false
AfterUnion: false
AfterExternBlock: false
BitFieldColonSpacing: After
AlwaysBreakAfterReturnType: None
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakTemplateDeclarations: No
AllowShortBlocksOnASingleLine: Always
AllowShortCaseLabelsOnASingleLine: false
AllowShortEnumsOnASingleLine: false
AllowShortFunctionsOnASingleLine: Inline
AllowShortIfStatementsOnASingleLine: AllIfsAndElse
AllowShortLoopsOnASingleLine: true
AllowShortLambdasOnASingleLine: All
AllowAllParametersOfDeclarationOnNextLine: false
AllowAllArgumentsOnNextLine: false
AlignTrailingComments:
Kind: Always
AlignOperands: Align
AlignEscapedNewlines: Left