forked from irods/irods_client_icommands
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
203 lines (180 loc) · 4.98 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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
---
DisableFormat: false
Language: Cpp
Standard: c++20
ColumnLimit: 120
UseCRLF: false
#UseTab: AlignWithSpaces
UseTab: Never
TabWidth: 4
IndentWidth: 4
ConstructorInitializerIndentWidth: 4
IndentPPDirectives: AfterHash
PPIndentWidth: 2
IndentAccessModifiers: false
AccessModifierOffset: -2
AlignAfterOpenBracket: Align
#AlignAfterOpenBracket: BlockIndent
AlignArrayOfStructures: None
AlignConsecutiveAssignments: None
AlignConsecutiveBitFields: Consecutive
AlignConsecutiveDeclarations: None
AlignConsecutiveMacros: AcrossEmptyLinesAndComments
AlignEscapedNewlines: Left
AlignOperands: Align
AlignTrailingComments: false
AllowAllArgumentsOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: false
AllowAllConstructorInitializersOnNextLine: false
ConstructorInitializerAllOnOneLineOrOnePerLine: false
AllowShortBlocksOnASingleLine: Empty
AllowShortCaseLabelsOnASingleLine: false
AllowShortEnumsOnASingleLine: false
AllowShortFunctionsOnASingleLine: None
AllowShortIfStatementsOnASingleLine: Never
AllowShortLambdasOnASingleLine: All
AllowShortLoopsOnASingleLine: false
IndentCaseBlocks: false
IndentCaseLabels: true
IndentExternBlock: AfterExternBlock
IndentGotoLabels: true
IndentRequires: true
#IndentRequiresClause: true
IndentWrappedFunctionNames: false
LambdaBodyIndentation: Signature
NamespaceIndentation: All
AlwaysBreakAfterReturnType: None
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: Yes
BinPackArguments: false
BinPackParameters: false
BreakBeforeBinaryOperators: None
BreakBeforeConceptDeclarations: true
BreakBeforeInheritanceComma: true
BreakBeforeTernaryOperators: true
BreakConstructorInitializers: BeforeComma
BreakInheritanceList: BeforeComma
BreakStringLiterals: true
BreakBeforeBraces: Custom
BraceWrapping:
AfterCaseLabel: false
AfterClass: true
AfterControlStatement: MultiLine
AfterEnum: true
AfterExternBlock: false
AfterFunction: true
AfterNamespace: true
AfterStruct: true
AfterUnion: true
BeforeCatch: true
BeforeElse: true
BeforeLambdaBody: false
BeforeWhile: true
IndentBraces: false
SplitEmptyFunction: true
SplitEmptyNamespace: true
SplitEmptyRecord: true
#InsertBraces: false
#RemoveBracesLLVM: false
DeriveLineEnding: true
DerivePointerAlignment: false
ExperimentalAutoDetectBinPacking: false
SpaceAfterCStyleCast: true
SpaceAfterLogicalNot: false
SpaceAfterTemplateKeyword: true
SpaceAroundPointerQualifiers: Default
SpaceBeforeAssignmentOperators: true
SpaceBeforeCaseColon: false
SpaceBeforeCpp11BracedList: false
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeParens: ControlStatements
SpaceBeforeRangeBasedForLoopColon: true
SpaceBeforeSquareBrackets: false
SpaceInEmptyBlock: false
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
SpacesInAngles: Never
SpacesInConditionalStatement: false
SpacesInContainerLiterals: false
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
SpacesInLineCommentPrefix:
Minimum: 0
Maximum: -1
BitFieldColonSpacing: Both
Cpp11BracedListStyle: true
FixNamespaceComments: true
ShortNamespaceLines: 0
SortIncludes: Never
SortUsingDeclarations: true
PointerAlignment: Left
ReferenceAlignment: Pointer
EmptyLineAfterAccessModifier: Never
EmptyLineBeforeAccessModifier: LogicalBlock
KeepEmptyLinesAtTheStartOfBlocks: false
MaxEmptyLinesToKeep: 1
#SeparateDefinitionBlocks: Always
AttributeMacros:
- __capability
- __extension__
- __const__
- __volatile__
- __signed__
- __inline__
- BOOST_RESTRICT
- BOOST_FORCEINLINE
- BOOST_NOINLINE
- BOOST_NORETURN
- BOOST_ATTRIBUTE_UNUSED
- BOOST_ATTRIBUTE_NODISCARD
- BOOST_ATTRIBUTE_NO_UNIQUE_ADDRESS
- BOOST_MAY_ALIAS
- BOOST_NO_MAY_ALIAS
- BOOST_SYMBOL_VISIBLE
- BOOST_SYMBOL_EXPORT
- BOOST_SYMBOL_IMPORT
- BOOST_INLINE_VARIABLE
- BOOST_INLINE_CONSTEXPR
- BOOST_NOEXCEPT_OR_NOTHROW
- BOOST_FINAL
- BOOST_OVERRIDE
ForEachMacros:
- foreach
- BOOST_FOREACH
- BOOST_REVERSE_FOREACH
IfMacros:
- CATCH_CHECKED_IF
- CATCH_CHECKED_ELSE
- CHECKED_IF
- CHECKED_ELSE
- BOOST_IF_CONSTEXPR
StatementMacros:
- BOOST_PRAGMA_MESSAGE
- BOOST_HEADER_DEPRECATED
WhitespaceSensitiveMacros:
- STRINGIZE
- PP_STRINGIZE
- BOOST_STRINGIZE
- BOOST_PP_STRINGIZE
- BOOST_PP_WSTRINGIZE
- CMAKE_STRINGIFY
- CMAKE_TOSTRING
PenaltyBreakAssignment: 2
PenaltyBreakBeforeFirstCallParameter: 0
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
#PenaltyBreakOpenParenthesis: 0
PenaltyBreakString: 1000
PenaltyBreakTemplateDeclaration: 10
PenaltyExcessCharacter: 1000000
PenaltyIndentedWhitespace: 0
PenaltyReturnTypeOnItsOwnLine: 200
CommentPragmas: '^ (IWYU pragma:|(NOLINT(NEXTLINE|BEGIN|END)?)|clang-format)'
CompactNamespaces: false
IncludeBlocks: Preserve
InsertTrailingCommas: None
ReflowComments: true
#RequiresClausePosition: OwnLine