measur-tools-suite 1.0.11 → 1.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.clang-format ADDED
@@ -0,0 +1,411 @@
1
+ ---
2
+ Language: Cpp
3
+ # BasedOnStyle: Google
4
+ # AccessModifierOffset: -1
5
+
6
+ # --------------------------------------------------------------------------------
7
+ # If true, horizontally aligns arguments after an open bracket. This applies to
8
+ # round brackets (parentheses), angle brackets and square brackets.
9
+ #
10
+ # Possible values:
11
+ #
12
+ # Align: Align parameters on the open bracket, e.g.:
13
+ #
14
+ # someLongFunction(argument1,
15
+ # argument2);
16
+
17
+ # DontAlign: Don't align, instead use ContinuationIndentWidth, e.g.:
18
+ #
19
+ # someLongFunction(argument1,
20
+ # argument2);
21
+
22
+ # AlwaysBreak: Always break after an open bracket, if the parameters don't fit on
23
+ # a single line, e.g.:
24
+ #
25
+ # someLongFunction(
26
+ # argument1, argument2);
27
+ # --------------------------------------------------------------------------------
28
+ AlignAfterOpenBracket: Align
29
+ # AlignArrayOfStructures: None
30
+
31
+ # --------------------------------------------------------------------------------
32
+ # If true, aligns consecutive assignments. This will align the assignment
33
+ # operators of consecutive lines. This will result in formattings like
34
+ #
35
+ # int aaaa = 12;
36
+ # int b = 23;
37
+ # int ccc = 23;
38
+ # --------------------------------------------------------------------------------
39
+ AlignConsecutiveAssignments:
40
+ Enabled: true
41
+ # AcrossEmptyLines: false
42
+ # AcrossComments: false
43
+ # AlignCompound: false
44
+ # AlignFunctionPointers: false
45
+ # PadOperators: true
46
+ # AlignConsecutiveBitFields:
47
+ # Enabled: false
48
+ # AcrossEmptyLines: false
49
+ # AcrossComments: false
50
+ # AlignCompound: false
51
+ # AlignFunctionPointers: false
52
+ # PadOperators: false
53
+
54
+ # --------------------------------------------------------------------------------
55
+ # If true, aligns consecutive declarations. This will align the declaration names
56
+ # of consecutive lines. This will result in formattings like
57
+ #
58
+ # int aaaa = 12;
59
+ # float b = 23;
60
+ # std::string ccc = 23;
61
+ # --------------------------------------------------------------------------------
62
+ AlignConsecutiveDeclarations:
63
+ Enabled: true
64
+ # AcrossEmptyLines: false
65
+ # AcrossComments: false
66
+ # AlignCompound: false
67
+ # AlignFunctionPointers: false
68
+ # PadOperators: false
69
+
70
+ # --------------------------------------------------------------------------------
71
+ # If true, aligns consecutive C/C++ preprocessor macros. This will align the C/C++
72
+ # preprocessor macros of consecutive lines. This will result in formattings like
73
+ #
74
+ # #define SHORT_NAME 42
75
+ # #define LONGER_NAME 0x007f
76
+ # #define EVEN_LONGER_NAME (2)
77
+ # #define foo(x) (x * x)
78
+ # #define bar(y, z) (y + z)
79
+ # --------------------------------------------------------------------------------
80
+ AlignConsecutiveMacros:
81
+ Enabled: true
82
+ # AcrossEmptyLines: false
83
+ # AcrossComments: false
84
+ # AlignCompound: false
85
+ # AlignFunctionPointers: false
86
+ # PadOperators: false
87
+ # AlignConsecutiveShortCaseStatements:
88
+ # Enabled: false
89
+ # AcrossEmptyLines: false
90
+ # AcrossComments: false
91
+ # AlignCaseArrows: false
92
+ # AlignCaseColons: false
93
+ # AlignConsecutiveTableGenBreakingDAGArgColons:
94
+ # Enabled: false
95
+ # AcrossEmptyLines: false
96
+ # AcrossComments: false
97
+ # AlignCompound: false
98
+ # AlignFunctionPointers: false
99
+ # PadOperators: false
100
+ # AlignConsecutiveTableGenCondOperatorColons:
101
+ # Enabled: false
102
+ # AcrossEmptyLines: false
103
+ # AcrossComments: false
104
+ # AlignCompound: false
105
+ # AlignFunctionPointers: false
106
+ # PadOperators: false
107
+ # AlignConsecutiveTableGenDefinitionColons:
108
+ # Enabled: false
109
+ # AcrossEmptyLines: false
110
+ # AcrossComments: false
111
+ # AlignCompound: false
112
+ # AlignFunctionPointers: false
113
+ # PadOperators: false
114
+ # AlignEscapedNewlines: Left
115
+
116
+ # --------------------------------------------------------------------------------
117
+ # If true, horizontally align operands of binary and ternary expressions.
118
+ # Specifically, this aligns operands of a single expression that needs to be split
119
+ # over multiple lines, e.g.:
120
+ #
121
+ # int aaa = bbbbbbbbbbbbbbb +
122
+ # ccccccccccccccc;
123
+ # --------------------------------------------------------------------------------
124
+ AlignOperands: true
125
+
126
+ # --------------------------------------------------------------------------------
127
+ # If true, aligns trailing comments.
128
+ #
129
+ # true: false:
130
+ # int a; // My comment a vs. int a; // My comment a
131
+ # int b = 2; // comment b int b = 2; // comment about b
132
+ # --------------------------------------------------------------------------------
133
+ AlignTrailingComments:
134
+ Kind: Always
135
+ OverEmptyLines: 0
136
+ # AllowAllArgumentsOnNextLine: true
137
+ # AllowAllParametersOfDeclarationOnNextLine: true
138
+ # AllowBreakBeforeNoexceptSpecifier: Never
139
+ # AllowShortBlocksOnASingleLine: Always
140
+ # AllowShortCaseExpressionOnASingleLine: true
141
+ # AllowShortCaseLabelsOnASingleLine: false
142
+ # AllowShortCompoundRequirementOnASingleLine: true
143
+ # AllowShortEnumsOnASingleLine: true
144
+ # AllowShortFunctionsOnASingleLine: All
145
+ # AllowShortIfStatementsOnASingleLine: WithoutElse
146
+ # AllowShortLambdasOnASingleLine: All
147
+ # AllowShortLoopsOnASingleLine: true
148
+ # AlwaysBreakAfterDefinitionReturnType: None
149
+ # AlwaysBreakBeforeMultilineStrings: true
150
+ # AttributeMacros:
151
+ # - __capability
152
+
153
+ # --------------------------------------------------------------------------------
154
+ # If false, a function call's arguments will either be all on the same line or
155
+ # will have one line each.
156
+ #
157
+ # true:
158
+ #
159
+ # void f() {
160
+ # f(aaaaaaaaaaaaaaaaaaaa, aaaaaaaaaaaaaaaaaaaa,
161
+ # aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa);
162
+ # }
163
+ #
164
+ # false:
165
+ # void f() {
166
+ # f(aaaaaaaaaaaaaaaaaaaa,
167
+ # aaaaaaaaaaaaaaaaaaaa,
168
+ # aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa);
169
+ # }
170
+ # --------------------------------------------------------------------------------
171
+ BinPackArguments: true
172
+
173
+ # --------------------------------------------------------------------------------
174
+ # If false, a function declaration's or function definition's parameters will either all be on the same line or will have one line each.
175
+ #
176
+ # true:
177
+ #
178
+ # void f(int aaaaaaaaaaaaaaaaaaaa, int aaaaaaaaaaaaaaaaaaaa,
179
+ # int aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa) {}
180
+ #
181
+ # false:
182
+ #
183
+ # void f(int aaaaaaaaaaaaaaaaaaaa,
184
+ # int aaaaaaaaaaaaaaaaaaaa,
185
+ # int aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa) {}
186
+ # --------------------------------------------------------------------------------
187
+ BinPackParameters: true
188
+ # BitFieldColonSpacing: Both
189
+ BraceWrapping:
190
+ # AfterCaseLabel: false
191
+ # AfterClass: false
192
+ # AfterControlStatement: Never
193
+ # AfterEnum: false
194
+ # AfterFunction: false
195
+ # AfterNamespace: false
196
+ # AfterObjCDeclaration: false
197
+ # AfterStruct: false
198
+ # AfterUnion: false
199
+ # AfterExternBlock: false
200
+ # BeforeCatch: false
201
+ BeforeElse: true
202
+ # BeforeLambdaBody: false
203
+ # BeforeWhile: false
204
+ # IndentBraces: false
205
+ # SplitEmptyFunction: true
206
+ # SplitEmptyRecord: true
207
+ # SplitEmptyNamespace: true
208
+ # BreakAdjacentStringLiterals: true
209
+ # BreakAfterAttributes: Leave
210
+ # BreakAfterJavaFieldAnnotations: false
211
+ # BreakAfterReturnType: None
212
+ # BreakArrays: true
213
+ # BreakBeforeBinaryOperators: None
214
+ BreakBeforeBraces: Custom
215
+ # BreakBeforeConceptDeclarations: Always
216
+ # BreakBeforeInlineASMColon: OnlyMultiline
217
+ # BreakBeforeTernaryOperators: true
218
+ BreakConstructorInitializers: BeforeColon
219
+ # BreakFunctionDefinitionParameters: false
220
+ # BreakInheritanceList: BeforeColon
221
+ # BreakStringLiterals: true
222
+ # BreakTemplateDeclarations: Yes
223
+ ColumnLimit: 120
224
+ # CommentPragmas: "^ IWYU pragma:"
225
+ CompactNamespaces: false
226
+ # ConstructorInitializerIndentWidth: 4
227
+ ContinuationIndentWidth: 4
228
+ Cpp11BracedListStyle: true
229
+ # DerivePointerAlignment: true
230
+ # DisableFormat: false
231
+ # EmptyLineAfterAccessModifier: Never
232
+ # EmptyLineBeforeAccessModifier: LogicalBlock
233
+ # ExperimentalAutoDetectBinPacking: false
234
+ FixNamespaceComments: true
235
+ # ForEachMacros:
236
+ # - foreach
237
+ # - Q_FOREACH
238
+ # - BOOST_FOREACH
239
+ # IfMacros:
240
+ # - KJ_IF_MAYBE
241
+ IncludeBlocks: Regroup
242
+ IncludeCategories:
243
+ - Regex: '^<([a-zA-Z0-9_]+\.h)>' # C system headers, e.g., <stdio.h>, <stdlib.h>
244
+ Priority: 1
245
+ SortPriority: 0
246
+ CaseSensitive: false
247
+ - Regex: '^<([a-zA-Z0-9_]+)>' # C++ standard library headers, e.g., <string>, <vector>
248
+ Priority: 2
249
+ SortPriority: 0
250
+ CaseSensitive: false
251
+ - Regex: '^<.*>' # Other third-party headers, e.g., <boost/someheader.h>
252
+ Priority: 3
253
+ SortPriority: 0
254
+ CaseSensitive: false
255
+ - Regex: '^".*"' # Project-local includes, e.g., "my_header.h"
256
+ Priority: 4
257
+ SortPriority: 0
258
+ CaseSensitive: false
259
+ # IncludeIsMainRegex: ([-_](test|unittest))?$
260
+ # IncludeIsMainSourceRegex: ""
261
+ # IndentAccessModifiers: false
262
+ # IndentCaseBlocks: false
263
+ IndentCaseLabels: true
264
+ # IndentExternBlock: AfterExternBlock
265
+ # IndentGotoLabels: true
266
+ IndentPPDirectives: BeforeHash
267
+ # IndentRequiresClause: true
268
+ IndentWidth: 4
269
+ # IndentWrappedFunctionNames: false
270
+ # InsertBraces: false
271
+ # InsertNewlineAtEOF: false
272
+ # InsertTrailingCommas: None
273
+ # IntegerLiteralSeparator:
274
+ # Binary: 0
275
+ # BinaryMinDigits: 0
276
+ # Decimal: 0
277
+ # DecimalMinDigits: 0
278
+ # Hex: 0
279
+ # HexMinDigits: 0
280
+ # JavaScriptQuotes: Leave
281
+ # JavaScriptWrapImports: true
282
+ # KeepEmptyLines:
283
+ # AtEndOfFile: false
284
+ # AtStartOfBlock: false
285
+ # AtStartOfFile: true
286
+ # LambdaBodyIndentation: Signature
287
+ # LineEnding: DeriveLF
288
+ # MacroBlockBegin: ""
289
+ # MacroBlockEnd: ""
290
+ # MainIncludeChar: Quote
291
+ # MaxEmptyLinesToKeep: 1
292
+ # NamespaceIndentation: None
293
+ # ObjCBinPackProtocolList: Never
294
+ # ObjCBlockIndentWidth: 2
295
+ # ObjCBreakBeforeNestedBlockParam: true
296
+ # ObjCSpaceAfterProperty: false
297
+ # ObjCSpaceBeforeProtocolList: true
298
+ # PPIndentWidth: -1
299
+ # PackConstructorInitializers: NextLine
300
+ # PenaltyBreakAssignment: 2
301
+ # PenaltyBreakBeforeFirstCallParameter: 1
302
+ # PenaltyBreakComment: 300
303
+ # PenaltyBreakFirstLessLess: 120
304
+ # PenaltyBreakOpenParenthesis: 0
305
+ # PenaltyBreakScopeResolution: 500
306
+ # PenaltyBreakString: 1000
307
+ # PenaltyBreakTemplateDeclaration: 10
308
+ # PenaltyExcessCharacter: 1000000
309
+ # PenaltyIndentedWhitespace: 0
310
+ # PenaltyReturnTypeOnItsOwnLine: 200
311
+ PointerAlignment: Left
312
+ # QualifierAlignment: Leave
313
+ # RawStringFormats:
314
+ # - Language: Cpp
315
+ # Delimiters:
316
+ # - cc
317
+ # - CC
318
+ # - cpp
319
+ # - Cpp
320
+ # - CPP
321
+ # - c++
322
+ # - C++
323
+ # CanonicalDelimiter: ""
324
+ # BasedOnStyle: google
325
+ # - Language: TextProto
326
+ # Delimiters:
327
+ # - pb
328
+ # - PB
329
+ # - proto
330
+ # - PROTO
331
+ # EnclosingFunctions:
332
+ # - EqualsProto
333
+ # - EquivToProto
334
+ # - PARSE_PARTIAL_TEXT_PROTO
335
+ # - PARSE_TEST_PROTO
336
+ # - PARSE_TEXT_PROTO
337
+ # - ParseTextOrDie
338
+ # - ParseTextProtoOrDie
339
+ # - ParseTestProto
340
+ # - ParsePartialTestProto
341
+ # CanonicalDelimiter: pb
342
+ # BasedOnStyle: google
343
+ # ReferenceAlignment: Pointer
344
+ ReflowComments: true
345
+ # RemoveBracesLLVM: false
346
+ # RemoveParentheses: Leave
347
+ # RemoveSemicolon: false
348
+ # RequiresClausePosition: OwnLine
349
+ # RequiresExpressionIndentation: OuterScope
350
+ # SeparateDefinitionBlocks: Leave
351
+ # ShortNamespaceLines: 1
352
+ # SkipMacroDefinitionBody: false
353
+ SortIncludes: CaseInsensitive
354
+ # SortJavaStaticImport: Before
355
+ # SortUsingDeclarations: LexicographicNumeric
356
+ # SpaceAfterCStyleCast: false
357
+ # SpaceAfterLogicalNot: false
358
+ # SpaceAfterTemplateKeyword: true
359
+ # SpaceAroundPointerQualifiers: Default
360
+ SpaceBeforeAssignmentOperators: true
361
+ # SpaceBeforeCaseColon: false
362
+ SpaceBeforeCpp11BracedList: true
363
+ # SpaceBeforeCtorInitializerColon: true
364
+ SpaceBeforeInheritanceColon: true
365
+ # SpaceBeforeJsonColon: false
366
+ SpaceBeforeParens: ControlStatements
367
+ # SpaceBeforeParensOptions:
368
+ # AfterControlStatements: true
369
+ # AfterForeachMacros: true
370
+ # AfterFunctionDeclarationName: false
371
+ # AfterFunctionDefinitionName: false
372
+ # AfterIfMacros: true
373
+ # AfterOverloadedOperator: false
374
+ # AfterPlacementOperator: true
375
+ # AfterRequiresInClause: false
376
+ # AfterRequiresInExpression: false
377
+ # BeforeNonEmptyParentheses: false
378
+ # SpaceBeforeRangeBasedForLoopColon: true
379
+ # SpaceBeforeSquareBrackets: false
380
+ # SpaceInEmptyBlock: false
381
+ # SpacesBeforeTrailingComments: 2
382
+ # SpacesInAngles: Never
383
+ # SpacesInContainerLiterals: true
384
+ # SpacesInLineCommentPrefix:
385
+ # Minimum: 1
386
+ # Maximum: -1
387
+ # SpacesInParens: Never
388
+ # SpacesInParensOptions:
389
+ # ExceptDoubleParentheses: false
390
+ # InConditionalStatements: false
391
+ # InCStyleCasts: false
392
+ # InEmptyParentheses: false
393
+ # Other: false
394
+ # SpacesInSquareBrackets: false
395
+ # Standard: Auto
396
+ # StatementAttributeLikeMacros:
397
+ # - Q_EMIT
398
+ # StatementMacros:
399
+ # - Q_UNUSED
400
+ # - QT_REQUIRE_VERSION
401
+ TabWidth: 4
402
+ # TableGenBreakInsideDAGArg: DontBreak
403
+ # UseTab: Never
404
+ # VerilogBreakBetweenInstancePorts: true
405
+ # WhitespaceSensitiveMacros:
406
+ # - BOOST_PP_STRINGIZE
407
+ # - CF_SWIFT_NAME
408
+ # - NS_SWIFT_NAME
409
+ # - PP_STRINGIZE
410
+ # - STRINGIZE
411
+ ...