FreeCAD

Форк
0
/
.clang-tidy 
490 строк · 28.3 Кб
1
---
2
Checks:          'clang-diagnostic-*,clang-analyzer-*,boost-*,bugprone-*,
3
performance-*,readability-*,portability-*,modernize-*,cppcoreguidelines-*,google-explicit-constructor,
4
concurrency-*,-modernize-use-trailing-return-type, -modernize-use-nodiscard,
5
-readability-redundant-access-specifiers,-readability-qualified-auto'
6
WarningsAsErrors: ''
7
HeaderFilterRegex: ''
8
AnalyzeTemporaryDtors: false
9
FormatStyle:     file
10
User:            florians
11
CheckOptions:
12
  - key:             readability-suspicious-call-argument.PrefixSimilarAbove
13
    value:           '30'
14
  - key:             cppcoreguidelines-no-malloc.Reallocations
15
    value:           '::realloc'
16
  - key:             cppcoreguidelines-owning-memory.LegacyResourceConsumers
17
    value:           '::free;::realloc;::freopen;::fclose'
18
  - key:             bugprone-reserved-identifier.Invert
19
    value:           'false'
20
  - key:             bugprone-narrowing-conversions.PedanticMode
21
    value:           'false'
22
  - key:             bugprone-unused-return-value.CheckedFunctions
23
    value:           '::std::async;::std::launder;::std::remove;::std::remove_if;::std::unique;::std::unique_ptr::release;::std::basic_string::empty;::std::vector::empty;::std::back_inserter;::std::distance;::std::find;::std::find_if;::std::inserter;::std::lower_bound;::std::make_pair;::std::map::count;::std::map::find;::std::map::lower_bound;::std::multimap::equal_range;::std::multimap::upper_bound;::std::set::count;::std::set::find;::std::setfill;::std::setprecision;::std::setw;::std::upper_bound;::std::vector::at;::bsearch;::ferror;::feof;::isalnum;::isalpha;::isblank;::iscntrl;::isdigit;::isgraph;::islower;::isprint;::ispunct;::isspace;::isupper;::iswalnum;::iswprint;::iswspace;::isxdigit;::memchr;::memcmp;::strcmp;::strcoll;::strncmp;::strpbrk;::strrchr;::strspn;::strstr;::wcscmp;::access;::bind;::connect;::difftime;::dlsym;::fnmatch;::getaddrinfo;::getopt;::htonl;::htons;::iconv_open;::inet_addr;::isascii;::isatty;::mmap;::newlocale;::openat;::pathconf;::pthread_equal;::pthread_getspecific;::pthread_mutex_trylock;::readdir;::readlink;::recvmsg;::regexec;::scandir;::semget;::setjmp;::shm_open;::shmget;::sigismember;::strcasecmp;::strsignal;::ttyname'
24
  - key:             modernize-use-auto.MinTypeNameLength
25
    value:           '5'
26
  - key:             cppcoreguidelines-macro-usage.CheckCapsOnly
27
    value:           'false'
28
  - key:             readability-inconsistent-declaration-parameter-name.Strict
29
    value:           'false'
30
  - key:             readability-suspicious-call-argument.DiceDissimilarBelow
31
    value:           '60'
32
  - key:             bugprone-assert-side-effect.IgnoredFunctions
33
    value:           __builtin_expect
34
  - key:             readability-suspicious-call-argument.Equality
35
    value:           'true'
36
  - key:             bugprone-easily-swappable-parameters.QualifiersMix
37
    value:           'false'
38
  - key:             bugprone-suspicious-string-compare.WarnOnImplicitComparison
39
    value:           'true'
40
  - key:             bugprone-argument-comment.CommentNullPtrs
41
    value:           '0'
42
  - key:             cppcoreguidelines-narrowing-conversions.WarnOnFloatingPointNarrowingConversion
43
    value:           'true'
44
  - key:             cppcoreguidelines-init-variables.IncludeStyle
45
    value:           llvm
46
  - key:             modernize-use-nodiscard.ReplacementString
47
    value:           '[[nodiscard]]'
48
  - key:             modernize-loop-convert.MakeReverseRangeHeader
49
    value:           ''
50
  - key:             readability-suspicious-call-argument.SuffixSimilarAbove
51
    value:           '30'
52
  - key:             cppcoreguidelines-narrowing-conversions.WarnOnIntegerNarrowingConversion
53
    value:           'true'
54
  - key:             bugprone-easily-swappable-parameters.IgnoredParameterNames
55
    value:           '"";iterator;Iterator;begin;Begin;end;End;first;First;last;Last;lhs;LHS;rhs;RHS'
56
  - key:             modernize-loop-convert.UseCxx20ReverseRanges
57
    value:           'true'
58
  - key:             cppcoreguidelines-prefer-member-initializer.UseAssignment
59
    value:           'false'
60
  - key:             performance-type-promotion-in-math-fn.IncludeStyle
61
    value:           llvm
62
  - key:             readability-function-cognitive-complexity.DescribeBasicIncrements
63
    value:           'true'
64
  - key:             bugprone-suspicious-include.ImplementationFileExtensions
65
    value:           'c;cc;cpp;cxx'
66
  - key:             modernize-loop-convert.MakeReverseRangeFunction
67
    value:           ''
68
  - key:             readability-inconsistent-declaration-parameter-name.IgnoreMacros
69
    value:           'true'
70
  - key:             bugprone-suspicious-missing-comma.SizeThreshold
71
    value:           '5'
72
  - key:             readability-identifier-naming.IgnoreFailedSplit
73
    value:           'false'
74
  - key:             readability-qualified-auto.AddConstToQualified
75
    value:           'true'
76
  - key:             bugprone-sizeof-expression.WarnOnSizeOfThis
77
    value:           'true'
78
  - key:             bugprone-string-constructor.WarnOnLargeLength
79
    value:           'true'
80
  - key:             cppcoreguidelines-explicit-virtual-functions.OverrideSpelling
81
    value:           override
82
  - key:             readability-uppercase-literal-suffix.IgnoreMacros
83
    value:           'true'
84
  - key:             modernize-make-shared.IgnoreMacros
85
    value:           'true'
86
  - key:             bugprone-dynamic-static-initializers.HeaderFileExtensions
87
    value:           ';h;hh;hpp;hxx'
88
  - key:             bugprone-suspicious-enum-usage.StrictMode
89
    value:           'false'
90
  - key:             performance-unnecessary-copy-initialization.AllowedTypes
91
    value:           ''
92
  - key:             bugprone-suspicious-missing-comma.MaxConcatenatedTokens
93
    value:           '5'
94
  - key:             modernize-use-transparent-functors.SafeMode
95
    value:           'false'
96
  - key:             readability-suspicious-call-argument.Levenshtein
97
    value:           'true'
98
  - key:             bugprone-not-null-terminated-result.WantToUseSafeFunctions
99
    value:           'true'
100
  - key:             bugprone-string-constructor.LargeLengthThreshold
101
    value:           '8388608'
102
  - key:             readability-simplify-boolean-expr.ChainedConditionalAssignment
103
    value:           'false'
104
  - key:             cppcoreguidelines-avoid-magic-numbers.IgnoreAllFloatingPointValues
105
    value:           'false'
106
  - key:             cert-oop54-cpp.WarnOnlyIfThisHasSuspiciousField
107
    value:           'false'
108
  - key:             bugprone-exception-escape.FunctionsThatShouldNotThrow
109
    value:           ''
110
  - key:             performance-inefficient-vector-operation.EnableProto
111
    value:           'false'
112
  - key:             modernize-make-shared.MakeSmartPtrFunction
113
    value:           'std::make_shared'
114
  - key:             modernize-loop-convert.MaxCopySize
115
    value:           '16'
116
  - key:             readability-suspicious-call-argument.PrefixDissimilarBelow
117
    value:           '25'
118
  - key:             readability-function-size.LineThreshold
119
    value:           '4294967295'
120
  - key:             bugprone-easily-swappable-parameters.MinimumLength
121
    value:           '2'
122
  - key:             portability-simd-intrinsics.Suggest
123
    value:           'false'
124
  - key:             cppcoreguidelines-pro-bounds-constant-array-index.GslHeader
125
    value:           ''
126
  - key:             modernize-use-override.IgnoreDestructors
127
    value:           'false'
128
  - key:             modernize-make-shared.MakeSmartPtrFunctionHeader
129
    value:           '<memory>'
130
  - key:             bugprone-sizeof-expression.WarnOnSizeOfConstant
131
    value:           'true'
132
  - key:             readability-redundant-string-init.StringNames
133
    value:           '::std::basic_string_view;::std::basic_string'
134
  - key:             modernize-make-unique.IgnoreDefaultInitialization
135
    value:           'true'
136
  - key:             modernize-use-emplace.ContainersWithPushBack
137
    value:           '::std::vector;::std::list;::std::deque'
138
  - key:             readability-magic-numbers.IgnoreBitFieldsWidths
139
    value:           'true'
140
  - key:             modernize-make-unique.IncludeStyle
141
    value:           llvm
142
  - key:             modernize-use-override.OverrideSpelling
143
    value:           override
144
  - key:             readability-suspicious-call-argument.LevenshteinDissimilarBelow
145
    value:           '50'
146
  - key:             bugprone-argument-comment.CommentStringLiterals
147
    value:           '0'
148
  - key:             concurrency-mt-unsafe.FunctionSet
149
    value:           any
150
  - key:             readability-identifier-length.IgnoredExceptionVariableNames
151
    value:           '^[e]$'
152
  - key:             google-readability-braces-around-statements.ShortStatementLines
153
    value:           '1'
154
  - key:             bugprone-reserved-identifier.AllowedIdentifiers
155
    value:           '_object'
156
  - key:             cppcoreguidelines-pro-type-member-init.IgnoreArrays
157
    value:           'false'
158
  - key:             readability-else-after-return.WarnOnUnfixable
159
    value:           'true'
160
  - key:             cppcoreguidelines-avoid-magic-numbers.IgnoredFloatingPointValues
161
    value:           '1.0;100.0;'
162
  - key:             modernize-use-emplace.IgnoreImplicitConstructors
163
    value:           'false'
164
  - key:             cppcoreguidelines-macro-usage.IgnoreCommandLineMacros
165
    value:           'true'
166
  - key:             readability-suspicious-call-argument.Substring
167
    value:           'true'
168
  - key:             modernize-use-equals-delete.IgnoreMacros
169
    value:           'true'
170
  - key:             readability-identifier-length.IgnoredVariableNames
171
    value:           ''
172
  - key:             readability-magic-numbers.IgnoreAllFloatingPointValues
173
    value:           'false'
174
  - key:             cppcoreguidelines-pro-bounds-constant-array-index.IncludeStyle
175
    value:           llvm
176
  - key:             readability-suspicious-call-argument.Abbreviations
177
    value:           'arr=array;cnt=count;idx=index;src=source;stmt=statement;cpy=copy;dest=destination;dist=distancedst=distance;ptr=pointer;wdth=width;str=string;ln=line;srv=server;attr=attribute;ref=reference;buf=buffer;col=column;nr=number;vec=vector;len=length;elem=element;val=value;i=index;var=variable;hght=height;cl=client;num=number;pos=position;lst=list;addr=address'
178
  - key:             bugprone-misplaced-widening-cast.CheckImplicitCasts
179
    value:           'false'
180
  - key:             readability-uppercase-literal-suffix.NewSuffixes
181
    value:           ''
182
  - key:             modernize-loop-convert.MinConfidence
183
    value:           reasonable
184
  - key:             performance-unnecessary-value-param.AllowedTypes
185
    value:           ''
186
  - key:             readability-uniqueptr-delete-release.PreferResetCall
187
    value:           'false'
188
  - key:             readability-identifier-length.MinimumExceptionNameLength
189
    value:           '2'
190
  - key:             cppcoreguidelines-avoid-magic-numbers.IgnorePowersOf2IntegerValues
191
    value:           'false'
192
  - key:             google-readability-namespace-comments.SpacesBeforeComments
193
    value:           '2'
194
  - key:             cppcoreguidelines-avoid-magic-numbers.IgnoreBitFieldsWidths
195
    value:           'true'
196
  - key:             cppcoreguidelines-avoid-magic-numbers.IgnoredIntegerValues
197
    value:           '1;2;3;4;'
198
  - key:             cppcoreguidelines-no-malloc.Allocations
199
    value:           '::malloc;::calloc'
200
  - key:             bugprone-narrowing-conversions.IgnoreConversionFromTypes
201
    value:           ''
202
  - key:             readability-function-size.BranchThreshold
203
    value:           '4294967295'
204
  - key:             bugprone-suspicious-missing-comma.RatioThreshold
205
    value:           '0.200000'
206
  - key:             readability-implicit-bool-conversion.AllowIntegerConditions
207
    value:           'false'
208
  - key:             readability-identifier-length.IgnoredParameterNames
209
    value:           '^[n]$'
210
  - key:             readability-function-size.StatementThreshold
211
    value:           '800'
212
  - key:             readability-identifier-naming.IgnoreMainLikeFunctions
213
    value:           'false'
214
  - key:             cppcoreguidelines-init-variables.MathHeader
215
    value:           '<math.h>'
216
  - key:             google-readability-function-size.StatementThreshold
217
    value:           '800'
218
  - key:             bugprone-reserved-identifier.AggressiveDependentMemberLookup
219
    value:           'false'
220
  - key:             readability-suspicious-call-argument.DiceSimilarAbove
221
    value:           '70'
222
  - key:             modernize-use-equals-default.IgnoreMacros
223
    value:           'true'
224
  - key:             readability-suspicious-call-argument.Abbreviation
225
    value:           'true'
226
  - key:             cppcoreguidelines-special-member-functions.AllowSoleDefaultDtor
227
    value:           'false'
228
  - key:             readability-identifier-length.MinimumLoopCounterNameLength
229
    value:           '2'
230
  - key:             modernize-use-emplace.SmartPointers
231
    value:           '::std::shared_ptr;::std::unique_ptr;::std::auto_ptr;::std::weak_ptr'
232
  - key:             cppcoreguidelines-no-malloc.Deallocations
233
    value:           '::free'
234
  - key:             bugprone-dangling-handle.HandleClasses
235
    value:           'std::basic_string_view;std::experimental::basic_string_view'
236
  - key:             readability-magic-numbers.IgnorePowersOf2IntegerValues
237
    value:           'false'
238
  - key:             readability-suspicious-call-argument.JaroWinklerSimilarAbove
239
    value:           '85'
240
  - key:             readability-simplify-subscript-expr.Types
241
    value:           '::std::basic_string;::std::basic_string_view;::std::vector;::std::array'
242
  - key:             performance-unnecessary-copy-initialization.ExcludedContainerTypes
243
    value:           ''
244
  - key:             modernize-replace-auto-ptr.IncludeStyle
245
    value:           llvm
246
  - key:             performance-move-const-arg.CheckTriviallyCopyableMove
247
    value:           'true'
248
  - key:             readability-static-accessed-through-instance.NameSpecifierNestingThreshold
249
    value:           '3'
250
  - key:             readability-function-size.VariableThreshold
251
    value:           '4294967295'
252
  - key:             cert-dcl16-c.NewSuffixes
253
    value:           'L;LL;LU;LLU'
254
  - key:             bugprone-narrowing-conversions.WarnOnFloatingPointNarrowingConversion
255
    value:           'true'
256
  - key:             readability-identifier-naming.GetConfigPerFile
257
    value:           'true'
258
  - key:             modernize-use-default-member-init.UseAssignment
259
    value:           'false'
260
  - key:             readability-function-size.NestingThreshold
261
    value:           '4294967295'
262
  - key:             modernize-use-override.AllowOverrideAndFinal
263
    value:           'false'
264
  - key:             cppcoreguidelines-narrowing-conversions.IgnoreConversionFromTypes
265
    value:           ''
266
  - key:             readability-function-size.ParameterThreshold
267
    value:           '4294967295'
268
  - key:             modernize-pass-by-value.ValuesOnly
269
    value:           'false'
270
  - key:             readability-function-cognitive-complexity.IgnoreMacros
271
    value:           'false'
272
  - key:             modernize-loop-convert.IncludeStyle
273
    value:           llvm
274
  - key:             cert-str34-c.DiagnoseSignedUnsignedCharComparisons
275
    value:           'false'
276
  - key:             bugprone-narrowing-conversions.WarnWithinTemplateInstantiation
277
    value:           'false'
278
  - key:             cert-err33-c.CheckedFunctions
279
    value:           '::aligned_alloc;::asctime_s;::at_quick_exit;::atexit;::bsearch;::bsearch_s;::btowc;::c16rtomb;::c32rtomb;::calloc;::clock;::cnd_broadcast;::cnd_init;::cnd_signal;::cnd_timedwait;::cnd_wait;::ctime_s;::fclose;::fflush;::fgetc;::fgetpos;::fgets;::fgetwc;::fopen;::fopen_s;::fprintf;::fprintf_s;::fputc;::fputs;::fputwc;::fputws;::fread;::freopen;::freopen_s;::fscanf;::fscanf_s;::fseek;::fsetpos;::ftell;::fwprintf;::fwprintf_s;::fwrite;::fwscanf;::fwscanf_s;::getc;::getchar;::getenv;::getenv_s;::gets_s;::getwc;::getwchar;::gmtime;::gmtime_s;::localtime;::localtime_s;::malloc;::mbrtoc16;::mbrtoc32;::mbsrtowcs;::mbsrtowcs_s;::mbstowcs;::mbstowcs_s;::memchr;::mktime;::mtx_init;::mtx_lock;::mtx_timedlock;::mtx_trylock;::mtx_unlock;::printf_s;::putc;::putwc;::raise;::realloc;::remove;::rename;::scanf;::scanf_s;::setlocale;::setvbuf;::signal;::snprintf;::snprintf_s;::sprintf;::sprintf_s;::sscanf;::sscanf_s;::strchr;::strerror_s;::strftime;::strpbrk;::strrchr;::strstr;::strtod;::strtof;::strtoimax;::strtok;::strtok_s;::strtol;::strtold;::strtoll;::strtoul;::strtoull;::strtoumax;::strxfrm;::swprintf;::swprintf_s;::swscanf;::swscanf_s;::thrd_create;::thrd_detach;::thrd_join;::thrd_sleep;::time;::timespec_get;::tmpfile;::tmpfile_s;::tmpnam;::tmpnam_s;::tss_create;::tss_get;::tss_set;::ungetc;::ungetwc;::vfprintf;::vfprintf_s;::vfscanf;::vfscanf_s;::vfwprintf;::vfwprintf_s;::vfwscanf;::vfwscanf_s;::vprintf_s;::vscanf;::vscanf_s;::vsnprintf;::vsnprintf_s;::vsprintf;::vsprintf_s;::vsscanf;::vsscanf_s;::vswprintf;::vswprintf_s;::vswscanf;::vswscanf_s;::vwprintf_s;::vwscanf;::vwscanf_s;::wcrtomb;::wcschr;::wcsftime;::wcspbrk;::wcsrchr;::wcsrtombs;::wcsrtombs_s;::wcsstr;::wcstod;::wcstof;::wcstoimax;::wcstok;::wcstok_s;::wcstol;::wcstold;::wcstoll;::wcstombs;::wcstombs_s;::wcstoul;::wcstoull;::wcstoumax;::wcsxfrm;::wctob;::wctrans;::wctype;::wmemchr;::wprintf_s;::wscanf;::wscanf_s;'
280
  - key:             bugprone-suspicious-string-compare.WarnOnLogicalNotComparison
281
    value:           'false'
282
  - key:             readability-redundant-smartptr-get.IgnoreMacros
283
    value:           'true'
284
  - key:             cppcoreguidelines-explicit-virtual-functions.AllowOverrideAndFinal
285
    value:           'false'
286
  - key:             readability-identifier-naming.AggressiveDependentMemberLookup
287
    value:           'false'
288
  - key:             readability-identifier-length.MinimumParameterNameLength
289
    value:           '2'
290
  - key:             modernize-use-emplace.TupleTypes
291
    value:           '::std::pair;::std::tuple'
292
  - key:             modernize-use-emplace.TupleMakeFunctions
293
    value:           '::std::make_pair;::std::make_tuple'
294
  - key:             bugprone-narrowing-conversions.WarnOnIntegerToFloatingPointNarrowingConversion
295
    value:           'true'
296
  - key:             cppcoreguidelines-owning-memory.LegacyResourceProducers
297
    value:           '::malloc;::aligned_alloc;::realloc;::calloc;::fopen;::freopen;::tmpfile'
298
  - key:             bugprone-easily-swappable-parameters.SuppressParametersUsedTogether
299
    value:           'true'
300
  - key:             bugprone-argument-comment.StrictMode
301
    value:           '0'
302
  - key:             modernize-replace-random-shuffle.IncludeStyle
303
    value:           llvm
304
  - key:             modernize-use-bool-literals.IgnoreMacros
305
    value:           'true'
306
  - key:             bugprone-unhandled-self-assignment.WarnOnlyIfThisHasSuspiciousField
307
    value:           'true'
308
  - key:             google-readability-namespace-comments.ShortNamespaceLines
309
    value:           '10'
310
  - key:             bugprone-suspicious-string-compare.StringCompareLikeFunctions
311
    value:           ''
312
  - key:             modernize-avoid-bind.PermissiveParameterList
313
    value:           'false'
314
  - key:             bugprone-easily-swappable-parameters.NamePrefixSuffixSilenceDissimilarityTreshold
315
    value:           '1'
316
  - key:             readability-suspicious-call-argument.Suffix
317
    value:           'true'
318
  - key:             readability-suspicious-call-argument.JaroWinklerDissimilarBelow
319
    value:           '75'
320
  - key:             modernize-use-noexcept.ReplacementString
321
    value:           ''
322
  - key:             modernize-use-override.FinalSpelling
323
    value:           final
324
  - key:             modernize-use-using.IgnoreMacros
325
    value:           'true'
326
  - key:             cppcoreguidelines-explicit-virtual-functions.FinalSpelling
327
    value:           final
328
  - key:             readability-suspicious-call-argument.MinimumIdentifierNameLength
329
    value:           '3'
330
  - key:             bugprone-narrowing-conversions.WarnOnIntegerNarrowingConversion
331
    value:           'true'
332
  - key:             modernize-loop-convert.NamingStyle
333
    value:           CamelCase
334
  - key:             cppcoreguidelines-pro-type-member-init.UseAssignment
335
    value:           'false'
336
  - key:             bugprone-suspicious-include.HeaderFileExtensions
337
    value:           ';h;hh;hpp;hxx'
338
  - key:             performance-no-automatic-move.AllowedTypes
339
    value:           ''
340
  - key:             readability-suspicious-call-argument.SubstringDissimilarBelow
341
    value:           '40'
342
  - key:             bugprone-argument-comment.CommentIntegerLiterals
343
    value:           '0'
344
  - key:             bugprone-stringview-nullptr.IncludeStyle
345
    value:           llvm
346
  - key:             performance-for-range-copy.WarnOnAllAutoCopies
347
    value:           'false'
348
  - key:             modernize-pass-by-value.IncludeStyle
349
    value:           llvm
350
  - key:             bugprone-argument-comment.CommentFloatLiterals
351
    value:           '0'
352
  - key:             bugprone-too-small-loop-variable.MagnitudeBitsUpperLimit
353
    value:           '16'
354
  - key:             readability-simplify-boolean-expr.ChainedConditionalReturn
355
    value:           'false'
356
  - key:             readability-else-after-return.WarnOnConditionVariables
357
    value:           'true'
358
  - key:             modernize-use-nullptr.NullMacros
359
    value:           'NULL'
360
  - key:             readability-suspicious-call-argument.SuffixDissimilarBelow
361
    value:           '25'
362
  - key:             bugprone-argument-comment.CommentCharacterLiterals
363
    value:           '0'
364
  - key:             cppcoreguidelines-macro-usage.AllowedRegexp
365
    value:           '^DEBUG_*'
366
  - key:             readability-suspicious-call-argument.LevenshteinSimilarAbove
367
    value:           '66'
368
  - key:             cppcoreguidelines-narrowing-conversions.PedanticMode
369
    value:           'false'
370
  - key:             modernize-make-shared.IgnoreDefaultInitialization
371
    value:           'true'
372
  - key:             readability-suspicious-call-argument.JaroWinkler
373
    value:           'true'
374
  - key:             bugprone-implicit-widening-of-multiplication-result.UseCXXHeadersInCppSources
375
    value:           'true'
376
  - key:             modernize-make-shared.IncludeStyle
377
    value:           llvm
378
  - key:             readability-suspicious-call-argument.Prefix
379
    value:           'true'
380
  - key:             cppcoreguidelines-special-member-functions.AllowMissingMoveFunctions
381
    value:           'false'
382
  - key:             bugprone-implicit-widening-of-multiplication-result.UseCXXStaticCastsInCppSources
383
    value:           'true'
384
  - key:             bugprone-signed-char-misuse.CharTypdefsToIgnore
385
    value:           ''
386
  - key:             cppcoreguidelines-explicit-virtual-functions.IgnoreDestructors
387
    value:           'false'
388
  - key:             modernize-make-unique.IgnoreMacros
389
    value:           'true'
390
  - key:             performance-for-range-copy.AllowedTypes
391
    value:           ''
392
  - key:             bugprone-argument-comment.CommentBoolLiterals
393
    value:           '0'
394
  - key:             readability-braces-around-statements.ShortStatementLines
395
    value:           '0'
396
  - key:             bugprone-argument-comment.CommentUserDefinedLiterals
397
    value:           '0'
398
  - key:             readability-magic-numbers.IgnoredFloatingPointValues
399
    value:           '1.0;100.0;'
400
  - key:             performance-inefficient-string-concatenation.StrictMode
401
    value:           'false'
402
  - key:             readability-redundant-declaration.IgnoreMacros
403
    value:           'true'
404
  - key:             bugprone-easily-swappable-parameters.IgnoredParameterTypeSuffixes
405
    value:           'bool;Bool;_Bool;it;It;iterator;Iterator;inputit;InputIt;forwardit;ForwardIt;bidirit;BidirIt;constiterator;const_iterator;Const_Iterator;Constiterator;ConstIterator;RandomIt;randomit;random_iterator;ReverseIt;reverse_iterator;reverse_const_iterator;ConstReverseIterator;Const_Reverse_Iterator;const_reverse_iterator;Constreverseiterator;constreverseiterator'
406
  - key:             modernize-make-unique.MakeSmartPtrFunction
407
    value:           'std::make_unique'
408
  - key:             portability-restrict-system-includes.Includes
409
    value:           '*'
410
  - key:             readability-implicit-bool-conversion.AllowPointerConditions
411
    value:           'true'
412
  - key:             modernize-make-unique.MakeSmartPtrFunctionHeader
413
    value:           '<memory>'
414
  - key:             bugprone-signal-handler.AsyncSafeFunctionSet
415
    value:           POSIX
416
  - key:             bugprone-easily-swappable-parameters.ModelImplicitConversions
417
    value:           'true'
418
  - key:             readability-suspicious-call-argument.SubstringSimilarAbove
419
    value:           '50'
420
  - key:             cppcoreguidelines-narrowing-conversions.WarnWithinTemplateInstantiation
421
    value:           'false'
422
  - key:             readability-identifier-length.MinimumVariableNameLength
423
    value:           '2'
424
  - key:             cppcoreguidelines-narrowing-conversions.WarnOnEquivalentBitWidth
425
    value:           'true'
426
  - key:             cppcoreguidelines-non-private-member-variables-in-classes.IgnorePublicMemberVariables
427
    value:           'false'
428
  - key:             cppcoreguidelines-special-member-functions.AllowMissingMoveFunctionsWhenCopyIsDeleted
429
    value:           'false'
430
  - key:             modernize-use-noexcept.UseNoexceptFalse
431
    value:           'true'
432
  - key:             readability-function-cognitive-complexity.Threshold
433
    value:           '25'
434
  - key:             cppcoreguidelines-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic
435
    value:           'true'
436
  - key:             bugprone-argument-comment.IgnoreSingleArgument
437
    value:           '0'
438
  - key:             bugprone-narrowing-conversions.WarnOnEquivalentBitWidth
439
    value:           'true'
440
  - key:             bugprone-sizeof-expression.WarnOnSizeOfIntegerExpression
441
    value:           'false'
442
  - key:             performance-faster-string-find.StringLikeClasses
443
    value:           '::std::basic_string;::std::basic_string_view'
444
  - key:             cppcoreguidelines-narrowing-conversions.WarnOnIntegerToFloatingPointNarrowingConversion
445
    value:           'true'
446
  - key:             bugprone-assert-side-effect.CheckFunctionCalls
447
    value:           'false'
448
  - key:             bugprone-string-constructor.StringNames
449
    value:           '::std::basic_string;::std::basic_string_view'
450
  - key:             bugprone-assert-side-effect.AssertMacros
451
    value:           assert,NSAssert,NSCAssert
452
  - key:             bugprone-exception-escape.IgnoredExceptions
453
    value:           ''
454
  - key:             bugprone-signed-char-misuse.DiagnoseSignedUnsignedCharComparisons
455
    value:           'true'
456
  - key:             modernize-use-default-member-init.IgnoreMacros
457
    value:           'true'
458
  - key:             llvm-qualified-auto.AddConstToQualified
459
    value:           'false'
460
  - key:             llvm-else-after-return.WarnOnConditionVariables
461
    value:           'false'
462
  - key:             bugprone-sizeof-expression.WarnOnSizeOfCompareToConstant
463
    value:           'true'
464
  - key:             modernize-raw-string-literal.DelimiterStem
465
    value:           lit
466
  - key:             readability-suspicious-call-argument.Dice
467
    value:           'true'
468
  - key:             readability-identifier-length.IgnoredLoopCounterNames
469
    value:           '^[ijk_]$'
470
  - key:             modernize-raw-string-literal.ReplaceShorterLiterals
471
    value:           'false'
472
  - key:             readability-magic-numbers.IgnoredIntegerValues
473
    value:           '1;2;3;4;'
474
  - key:             performance-inefficient-vector-operation.VectorLikeClasses
475
    value:           '::std::vector'
476
  - key:             modernize-use-auto.RemoveStars
477
    value:           'false'
478
  - key:             bugprone-implicit-widening-of-multiplication-result.IncludeStyle
479
    value:           llvm
480
  - key:             portability-simd-intrinsics.Std
481
    value:           ''
482
  - key:             performance-unnecessary-value-param.IncludeStyle
483
    value:           llvm
484
  - key:             readability-redundant-member-init.IgnoreBaseInCopyConstructors
485
    value:           'false'
486
  - key:             modernize-replace-disallow-copy-and-assign-macro.MacroName
487
    value:           DISALLOW_COPY_AND_ASSIGN
488
  - key:             llvm-else-after-return.WarnOnUnfixable
489
    value:           'false'
490
...
491

492

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.