FreeCAD

Форк
0
/
.clang-tidy 
493 строки · 28.5 Кб
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
-cppcoreguidelines-avoid-non-const-global-variables,-cppcoreguidelines-owning-memory,
7
-readability-convert-member-functions-to-static,-bugprone-easily-swappable-parameters,
8
-cppcoreguidelines-pro-type-static-cast-downcast'
9
WarningsAsErrors: ''
10
HeaderFilterRegex: ''
11
AnalyzeTemporaryDtors: false
12
FormatStyle:     file
13
User:            florians
14
CheckOptions:
15
  - key:             readability-suspicious-call-argument.PrefixSimilarAbove
16
    value:           '30'
17
  - key:             cppcoreguidelines-no-malloc.Reallocations
18
    value:           '::realloc'
19
  - key:             cppcoreguidelines-owning-memory.LegacyResourceConsumers
20
    value:           '::free;::realloc;::freopen;::fclose'
21
  - key:             bugprone-reserved-identifier.Invert
22
    value:           'false'
23
  - key:             bugprone-narrowing-conversions.PedanticMode
24
    value:           'false'
25
  - key:             bugprone-unused-return-value.CheckedFunctions
26
    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'
27
  - key:             modernize-use-auto.MinTypeNameLength
28
    value:           '5'
29
  - key:             cppcoreguidelines-macro-usage.CheckCapsOnly
30
    value:           'false'
31
  - key:             readability-inconsistent-declaration-parameter-name.Strict
32
    value:           'false'
33
  - key:             readability-suspicious-call-argument.DiceDissimilarBelow
34
    value:           '60'
35
  - key:             bugprone-assert-side-effect.IgnoredFunctions
36
    value:           __builtin_expect
37
  - key:             readability-suspicious-call-argument.Equality
38
    value:           'true'
39
  - key:             bugprone-easily-swappable-parameters.QualifiersMix
40
    value:           'false'
41
  - key:             bugprone-suspicious-string-compare.WarnOnImplicitComparison
42
    value:           'true'
43
  - key:             bugprone-argument-comment.CommentNullPtrs
44
    value:           '0'
45
  - key:             cppcoreguidelines-narrowing-conversions.WarnOnFloatingPointNarrowingConversion
46
    value:           'true'
47
  - key:             cppcoreguidelines-init-variables.IncludeStyle
48
    value:           llvm
49
  - key:             modernize-use-nodiscard.ReplacementString
50
    value:           '[[nodiscard]]'
51
  - key:             modernize-loop-convert.MakeReverseRangeHeader
52
    value:           ''
53
  - key:             readability-suspicious-call-argument.SuffixSimilarAbove
54
    value:           '30'
55
  - key:             cppcoreguidelines-narrowing-conversions.WarnOnIntegerNarrowingConversion
56
    value:           'true'
57
  - key:             bugprone-easily-swappable-parameters.IgnoredParameterNames
58
    value:           '"";iterator;Iterator;begin;Begin;end;End;first;First;last;Last;lhs;LHS;rhs;RHS'
59
  - key:             modernize-loop-convert.UseCxx20ReverseRanges
60
    value:           'true'
61
  - key:             cppcoreguidelines-prefer-member-initializer.UseAssignment
62
    value:           'false'
63
  - key:             performance-type-promotion-in-math-fn.IncludeStyle
64
    value:           llvm
65
  - key:             readability-function-cognitive-complexity.DescribeBasicIncrements
66
    value:           'true'
67
  - key:             bugprone-suspicious-include.ImplementationFileExtensions
68
    value:           'c;cc;cpp;cxx'
69
  - key:             modernize-loop-convert.MakeReverseRangeFunction
70
    value:           ''
71
  - key:             readability-inconsistent-declaration-parameter-name.IgnoreMacros
72
    value:           'true'
73
  - key:             bugprone-suspicious-missing-comma.SizeThreshold
74
    value:           '5'
75
  - key:             readability-identifier-naming.IgnoreFailedSplit
76
    value:           'false'
77
  - key:             readability-qualified-auto.AddConstToQualified
78
    value:           'true'
79
  - key:             bugprone-sizeof-expression.WarnOnSizeOfThis
80
    value:           'true'
81
  - key:             bugprone-string-constructor.WarnOnLargeLength
82
    value:           'true'
83
  - key:             cppcoreguidelines-explicit-virtual-functions.OverrideSpelling
84
    value:           override
85
  - key:             readability-uppercase-literal-suffix.IgnoreMacros
86
    value:           'true'
87
  - key:             modernize-make-shared.IgnoreMacros
88
    value:           'true'
89
  - key:             bugprone-dynamic-static-initializers.HeaderFileExtensions
90
    value:           ';h;hh;hpp;hxx'
91
  - key:             bugprone-suspicious-enum-usage.StrictMode
92
    value:           'false'
93
  - key:             performance-unnecessary-copy-initialization.AllowedTypes
94
    value:           ''
95
  - key:             bugprone-suspicious-missing-comma.MaxConcatenatedTokens
96
    value:           '5'
97
  - key:             modernize-use-transparent-functors.SafeMode
98
    value:           'false'
99
  - key:             readability-suspicious-call-argument.Levenshtein
100
    value:           'true'
101
  - key:             bugprone-not-null-terminated-result.WantToUseSafeFunctions
102
    value:           'true'
103
  - key:             bugprone-string-constructor.LargeLengthThreshold
104
    value:           '8388608'
105
  - key:             readability-simplify-boolean-expr.ChainedConditionalAssignment
106
    value:           'false'
107
  - key:             cppcoreguidelines-avoid-magic-numbers.IgnoreAllFloatingPointValues
108
    value:           'false'
109
  - key:             cert-oop54-cpp.WarnOnlyIfThisHasSuspiciousField
110
    value:           'false'
111
  - key:             bugprone-exception-escape.FunctionsThatShouldNotThrow
112
    value:           ''
113
  - key:             performance-inefficient-vector-operation.EnableProto
114
    value:           'false'
115
  - key:             modernize-make-shared.MakeSmartPtrFunction
116
    value:           'std::make_shared'
117
  - key:             modernize-loop-convert.MaxCopySize
118
    value:           '16'
119
  - key:             readability-suspicious-call-argument.PrefixDissimilarBelow
120
    value:           '25'
121
  - key:             readability-function-size.LineThreshold
122
    value:           '4294967295'
123
  - key:             bugprone-easily-swappable-parameters.MinimumLength
124
    value:           '2'
125
  - key:             portability-simd-intrinsics.Suggest
126
    value:           'false'
127
  - key:             cppcoreguidelines-pro-bounds-constant-array-index.GslHeader
128
    value:           ''
129
  - key:             modernize-use-override.IgnoreDestructors
130
    value:           'false'
131
  - key:             modernize-make-shared.MakeSmartPtrFunctionHeader
132
    value:           '<memory>'
133
  - key:             bugprone-sizeof-expression.WarnOnSizeOfConstant
134
    value:           'true'
135
  - key:             readability-redundant-string-init.StringNames
136
    value:           '::std::basic_string_view;::std::basic_string'
137
  - key:             modernize-make-unique.IgnoreDefaultInitialization
138
    value:           'true'
139
  - key:             modernize-use-emplace.ContainersWithPushBack
140
    value:           '::std::vector;::std::list;::std::deque'
141
  - key:             readability-magic-numbers.IgnoreBitFieldsWidths
142
    value:           'true'
143
  - key:             modernize-make-unique.IncludeStyle
144
    value:           llvm
145
  - key:             modernize-use-override.OverrideSpelling
146
    value:           override
147
  - key:             readability-suspicious-call-argument.LevenshteinDissimilarBelow
148
    value:           '50'
149
  - key:             bugprone-argument-comment.CommentStringLiterals
150
    value:           '0'
151
  - key:             concurrency-mt-unsafe.FunctionSet
152
    value:           any
153
  - key:             readability-identifier-length.IgnoredExceptionVariableNames
154
    value:           '^[e]$'
155
  - key:             google-readability-braces-around-statements.ShortStatementLines
156
    value:           '1'
157
  - key:             bugprone-reserved-identifier.AllowedIdentifiers
158
    value:           '_object'
159
  - key:             cppcoreguidelines-pro-type-member-init.IgnoreArrays
160
    value:           'false'
161
  - key:             readability-else-after-return.WarnOnUnfixable
162
    value:           'true'
163
  - key:             cppcoreguidelines-avoid-magic-numbers.IgnoredFloatingPointValues
164
    value:           '1.0;100.0;'
165
  - key:             modernize-use-emplace.IgnoreImplicitConstructors
166
    value:           'false'
167
  - key:             cppcoreguidelines-macro-usage.IgnoreCommandLineMacros
168
    value:           'true'
169
  - key:             readability-suspicious-call-argument.Substring
170
    value:           'true'
171
  - key:             modernize-use-equals-delete.IgnoreMacros
172
    value:           'true'
173
  - key:             readability-identifier-length.IgnoredVariableNames
174
    value:           ''
175
  - key:             readability-magic-numbers.IgnoreAllFloatingPointValues
176
    value:           'false'
177
  - key:             cppcoreguidelines-pro-bounds-constant-array-index.IncludeStyle
178
    value:           llvm
179
  - key:             readability-suspicious-call-argument.Abbreviations
180
    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'
181
  - key:             bugprone-misplaced-widening-cast.CheckImplicitCasts
182
    value:           'false'
183
  - key:             readability-uppercase-literal-suffix.NewSuffixes
184
    value:           ''
185
  - key:             modernize-loop-convert.MinConfidence
186
    value:           reasonable
187
  - key:             performance-unnecessary-value-param.AllowedTypes
188
    value:           ''
189
  - key:             readability-uniqueptr-delete-release.PreferResetCall
190
    value:           'false'
191
  - key:             readability-identifier-length.MinimumExceptionNameLength
192
    value:           '2'
193
  - key:             cppcoreguidelines-avoid-magic-numbers.IgnorePowersOf2IntegerValues
194
    value:           'false'
195
  - key:             google-readability-namespace-comments.SpacesBeforeComments
196
    value:           '2'
197
  - key:             cppcoreguidelines-avoid-magic-numbers.IgnoreBitFieldsWidths
198
    value:           'true'
199
  - key:             cppcoreguidelines-avoid-magic-numbers.IgnoredIntegerValues
200
    value:           '1;2;3;4;'
201
  - key:             cppcoreguidelines-no-malloc.Allocations
202
    value:           '::malloc;::calloc'
203
  - key:             bugprone-narrowing-conversions.IgnoreConversionFromTypes
204
    value:           ''
205
  - key:             readability-function-size.BranchThreshold
206
    value:           '4294967295'
207
  - key:             bugprone-suspicious-missing-comma.RatioThreshold
208
    value:           '0.200000'
209
  - key:             readability-implicit-bool-conversion.AllowIntegerConditions
210
    value:           'false'
211
  - key:             readability-identifier-length.IgnoredParameterNames
212
    value:           '^[n]$'
213
  - key:             readability-function-size.StatementThreshold
214
    value:           '800'
215
  - key:             readability-identifier-naming.IgnoreMainLikeFunctions
216
    value:           'false'
217
  - key:             cppcoreguidelines-init-variables.MathHeader
218
    value:           '<math.h>'
219
  - key:             google-readability-function-size.StatementThreshold
220
    value:           '800'
221
  - key:             bugprone-reserved-identifier.AggressiveDependentMemberLookup
222
    value:           'false'
223
  - key:             readability-suspicious-call-argument.DiceSimilarAbove
224
    value:           '70'
225
  - key:             modernize-use-equals-default.IgnoreMacros
226
    value:           'true'
227
  - key:             readability-suspicious-call-argument.Abbreviation
228
    value:           'true'
229
  - key:             cppcoreguidelines-special-member-functions.AllowSoleDefaultDtor
230
    value:           'false'
231
  - key:             readability-identifier-length.MinimumLoopCounterNameLength
232
    value:           '2'
233
  - key:             modernize-use-emplace.SmartPointers
234
    value:           '::std::shared_ptr;::std::unique_ptr;::std::auto_ptr;::std::weak_ptr'
235
  - key:             cppcoreguidelines-no-malloc.Deallocations
236
    value:           '::free'
237
  - key:             bugprone-dangling-handle.HandleClasses
238
    value:           'std::basic_string_view;std::experimental::basic_string_view'
239
  - key:             readability-magic-numbers.IgnorePowersOf2IntegerValues
240
    value:           'false'
241
  - key:             readability-suspicious-call-argument.JaroWinklerSimilarAbove
242
    value:           '85'
243
  - key:             readability-simplify-subscript-expr.Types
244
    value:           '::std::basic_string;::std::basic_string_view;::std::vector;::std::array'
245
  - key:             performance-unnecessary-copy-initialization.ExcludedContainerTypes
246
    value:           ''
247
  - key:             modernize-replace-auto-ptr.IncludeStyle
248
    value:           llvm
249
  - key:             performance-move-const-arg.CheckTriviallyCopyableMove
250
    value:           'true'
251
  - key:             readability-static-accessed-through-instance.NameSpecifierNestingThreshold
252
    value:           '3'
253
  - key:             readability-function-size.VariableThreshold
254
    value:           '4294967295'
255
  - key:             cert-dcl16-c.NewSuffixes
256
    value:           'L;LL;LU;LLU'
257
  - key:             bugprone-narrowing-conversions.WarnOnFloatingPointNarrowingConversion
258
    value:           'true'
259
  - key:             readability-identifier-naming.GetConfigPerFile
260
    value:           'true'
261
  - key:             modernize-use-default-member-init.UseAssignment
262
    value:           'false'
263
  - key:             readability-function-size.NestingThreshold
264
    value:           '4294967295'
265
  - key:             modernize-use-override.AllowOverrideAndFinal
266
    value:           'false'
267
  - key:             cppcoreguidelines-narrowing-conversions.IgnoreConversionFromTypes
268
    value:           ''
269
  - key:             readability-function-size.ParameterThreshold
270
    value:           '4294967295'
271
  - key:             modernize-pass-by-value.ValuesOnly
272
    value:           'false'
273
  - key:             readability-function-cognitive-complexity.IgnoreMacros
274
    value:           'false'
275
  - key:             modernize-loop-convert.IncludeStyle
276
    value:           llvm
277
  - key:             cert-str34-c.DiagnoseSignedUnsignedCharComparisons
278
    value:           'false'
279
  - key:             bugprone-narrowing-conversions.WarnWithinTemplateInstantiation
280
    value:           'false'
281
  - key:             cert-err33-c.CheckedFunctions
282
    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;'
283
  - key:             bugprone-suspicious-string-compare.WarnOnLogicalNotComparison
284
    value:           'false'
285
  - key:             readability-redundant-smartptr-get.IgnoreMacros
286
    value:           'true'
287
  - key:             cppcoreguidelines-explicit-virtual-functions.AllowOverrideAndFinal
288
    value:           'false'
289
  - key:             readability-identifier-naming.AggressiveDependentMemberLookup
290
    value:           'false'
291
  - key:             readability-identifier-length.MinimumParameterNameLength
292
    value:           '2'
293
  - key:             modernize-use-emplace.TupleTypes
294
    value:           '::std::pair;::std::tuple'
295
  - key:             modernize-use-emplace.TupleMakeFunctions
296
    value:           '::std::make_pair;::std::make_tuple'
297
  - key:             bugprone-narrowing-conversions.WarnOnIntegerToFloatingPointNarrowingConversion
298
    value:           'true'
299
  - key:             cppcoreguidelines-owning-memory.LegacyResourceProducers
300
    value:           '::malloc;::aligned_alloc;::realloc;::calloc;::fopen;::freopen;::tmpfile'
301
  - key:             bugprone-easily-swappable-parameters.SuppressParametersUsedTogether
302
    value:           'true'
303
  - key:             bugprone-argument-comment.StrictMode
304
    value:           '0'
305
  - key:             modernize-replace-random-shuffle.IncludeStyle
306
    value:           llvm
307
  - key:             modernize-use-bool-literals.IgnoreMacros
308
    value:           'true'
309
  - key:             bugprone-unhandled-self-assignment.WarnOnlyIfThisHasSuspiciousField
310
    value:           'true'
311
  - key:             google-readability-namespace-comments.ShortNamespaceLines
312
    value:           '10'
313
  - key:             bugprone-suspicious-string-compare.StringCompareLikeFunctions
314
    value:           ''
315
  - key:             modernize-avoid-bind.PermissiveParameterList
316
    value:           'false'
317
  - key:             bugprone-easily-swappable-parameters.NamePrefixSuffixSilenceDissimilarityTreshold
318
    value:           '1'
319
  - key:             readability-suspicious-call-argument.Suffix
320
    value:           'true'
321
  - key:             readability-suspicious-call-argument.JaroWinklerDissimilarBelow
322
    value:           '75'
323
  - key:             modernize-use-noexcept.ReplacementString
324
    value:           ''
325
  - key:             modernize-use-override.FinalSpelling
326
    value:           final
327
  - key:             modernize-use-using.IgnoreMacros
328
    value:           'true'
329
  - key:             cppcoreguidelines-explicit-virtual-functions.FinalSpelling
330
    value:           final
331
  - key:             readability-suspicious-call-argument.MinimumIdentifierNameLength
332
    value:           '3'
333
  - key:             bugprone-narrowing-conversions.WarnOnIntegerNarrowingConversion
334
    value:           'true'
335
  - key:             modernize-loop-convert.NamingStyle
336
    value:           CamelCase
337
  - key:             cppcoreguidelines-pro-type-member-init.UseAssignment
338
    value:           'false'
339
  - key:             bugprone-suspicious-include.HeaderFileExtensions
340
    value:           ';h;hh;hpp;hxx'
341
  - key:             performance-no-automatic-move.AllowedTypes
342
    value:           ''
343
  - key:             readability-suspicious-call-argument.SubstringDissimilarBelow
344
    value:           '40'
345
  - key:             bugprone-argument-comment.CommentIntegerLiterals
346
    value:           '0'
347
  - key:             bugprone-stringview-nullptr.IncludeStyle
348
    value:           llvm
349
  - key:             performance-for-range-copy.WarnOnAllAutoCopies
350
    value:           'false'
351
  - key:             modernize-pass-by-value.IncludeStyle
352
    value:           llvm
353
  - key:             bugprone-argument-comment.CommentFloatLiterals
354
    value:           '0'
355
  - key:             bugprone-too-small-loop-variable.MagnitudeBitsUpperLimit
356
    value:           '16'
357
  - key:             readability-simplify-boolean-expr.ChainedConditionalReturn
358
    value:           'false'
359
  - key:             readability-else-after-return.WarnOnConditionVariables
360
    value:           'true'
361
  - key:             modernize-use-nullptr.NullMacros
362
    value:           'NULL'
363
  - key:             readability-suspicious-call-argument.SuffixDissimilarBelow
364
    value:           '25'
365
  - key:             bugprone-argument-comment.CommentCharacterLiterals
366
    value:           '0'
367
  - key:             cppcoreguidelines-macro-usage.AllowedRegexp
368
    value:           '^DEBUG_*'
369
  - key:             readability-suspicious-call-argument.LevenshteinSimilarAbove
370
    value:           '66'
371
  - key:             cppcoreguidelines-narrowing-conversions.PedanticMode
372
    value:           'false'
373
  - key:             modernize-make-shared.IgnoreDefaultInitialization
374
    value:           'true'
375
  - key:             readability-suspicious-call-argument.JaroWinkler
376
    value:           'true'
377
  - key:             bugprone-implicit-widening-of-multiplication-result.UseCXXHeadersInCppSources
378
    value:           'true'
379
  - key:             modernize-make-shared.IncludeStyle
380
    value:           llvm
381
  - key:             readability-suspicious-call-argument.Prefix
382
    value:           'true'
383
  - key:             cppcoreguidelines-special-member-functions.AllowMissingMoveFunctions
384
    value:           'false'
385
  - key:             bugprone-implicit-widening-of-multiplication-result.UseCXXStaticCastsInCppSources
386
    value:           'true'
387
  - key:             bugprone-signed-char-misuse.CharTypdefsToIgnore
388
    value:           ''
389
  - key:             cppcoreguidelines-explicit-virtual-functions.IgnoreDestructors
390
    value:           'false'
391
  - key:             modernize-make-unique.IgnoreMacros
392
    value:           'true'
393
  - key:             performance-for-range-copy.AllowedTypes
394
    value:           ''
395
  - key:             bugprone-argument-comment.CommentBoolLiterals
396
    value:           '0'
397
  - key:             readability-braces-around-statements.ShortStatementLines
398
    value:           '0'
399
  - key:             bugprone-argument-comment.CommentUserDefinedLiterals
400
    value:           '0'
401
  - key:             readability-magic-numbers.IgnoredFloatingPointValues
402
    value:           '1.0;100.0;'
403
  - key:             performance-inefficient-string-concatenation.StrictMode
404
    value:           'false'
405
  - key:             readability-redundant-declaration.IgnoreMacros
406
    value:           'true'
407
  - key:             bugprone-easily-swappable-parameters.IgnoredParameterTypeSuffixes
408
    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'
409
  - key:             modernize-make-unique.MakeSmartPtrFunction
410
    value:           'std::make_unique'
411
  - key:             portability-restrict-system-includes.Includes
412
    value:           '*'
413
  - key:             readability-implicit-bool-conversion.AllowPointerConditions
414
    value:           'true'
415
  - key:             modernize-make-unique.MakeSmartPtrFunctionHeader
416
    value:           '<memory>'
417
  - key:             bugprone-signal-handler.AsyncSafeFunctionSet
418
    value:           POSIX
419
  - key:             bugprone-easily-swappable-parameters.ModelImplicitConversions
420
    value:           'true'
421
  - key:             readability-suspicious-call-argument.SubstringSimilarAbove
422
    value:           '50'
423
  - key:             cppcoreguidelines-narrowing-conversions.WarnWithinTemplateInstantiation
424
    value:           'false'
425
  - key:             readability-identifier-length.MinimumVariableNameLength
426
    value:           '2'
427
  - key:             cppcoreguidelines-narrowing-conversions.WarnOnEquivalentBitWidth
428
    value:           'true'
429
  - key:             cppcoreguidelines-non-private-member-variables-in-classes.IgnorePublicMemberVariables
430
    value:           'false'
431
  - key:             cppcoreguidelines-special-member-functions.AllowMissingMoveFunctionsWhenCopyIsDeleted
432
    value:           'false'
433
  - key:             modernize-use-noexcept.UseNoexceptFalse
434
    value:           'true'
435
  - key:             readability-function-cognitive-complexity.Threshold
436
    value:           '25'
437
  - key:             cppcoreguidelines-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic
438
    value:           'true'
439
  - key:             bugprone-argument-comment.IgnoreSingleArgument
440
    value:           '0'
441
  - key:             bugprone-narrowing-conversions.WarnOnEquivalentBitWidth
442
    value:           'true'
443
  - key:             bugprone-sizeof-expression.WarnOnSizeOfIntegerExpression
444
    value:           'false'
445
  - key:             performance-faster-string-find.StringLikeClasses
446
    value:           '::std::basic_string;::std::basic_string_view'
447
  - key:             cppcoreguidelines-narrowing-conversions.WarnOnIntegerToFloatingPointNarrowingConversion
448
    value:           'true'
449
  - key:             bugprone-assert-side-effect.CheckFunctionCalls
450
    value:           'false'
451
  - key:             bugprone-string-constructor.StringNames
452
    value:           '::std::basic_string;::std::basic_string_view'
453
  - key:             bugprone-assert-side-effect.AssertMacros
454
    value:           assert,NSAssert,NSCAssert
455
  - key:             bugprone-exception-escape.IgnoredExceptions
456
    value:           ''
457
  - key:             bugprone-signed-char-misuse.DiagnoseSignedUnsignedCharComparisons
458
    value:           'true'
459
  - key:             modernize-use-default-member-init.IgnoreMacros
460
    value:           'true'
461
  - key:             llvm-qualified-auto.AddConstToQualified
462
    value:           'false'
463
  - key:             llvm-else-after-return.WarnOnConditionVariables
464
    value:           'false'
465
  - key:             bugprone-sizeof-expression.WarnOnSizeOfCompareToConstant
466
    value:           'true'
467
  - key:             modernize-raw-string-literal.DelimiterStem
468
    value:           lit
469
  - key:             readability-suspicious-call-argument.Dice
470
    value:           'true'
471
  - key:             readability-identifier-length.IgnoredLoopCounterNames
472
    value:           '^[ijk_]$'
473
  - key:             modernize-raw-string-literal.ReplaceShorterLiterals
474
    value:           'false'
475
  - key:             readability-magic-numbers.IgnoredIntegerValues
476
    value:           '1;2;3;4;'
477
  - key:             performance-inefficient-vector-operation.VectorLikeClasses
478
    value:           '::std::vector'
479
  - key:             modernize-use-auto.RemoveStars
480
    value:           'false'
481
  - key:             bugprone-implicit-widening-of-multiplication-result.IncludeStyle
482
    value:           llvm
483
  - key:             portability-simd-intrinsics.Std
484
    value:           ''
485
  - key:             performance-unnecessary-value-param.IncludeStyle
486
    value:           llvm
487
  - key:             readability-redundant-member-init.IgnoreBaseInCopyConstructors
488
    value:           'false'
489
  - key:             modernize-replace-disallow-copy-and-assign-macro.MacroName
490
    value:           DISALLOW_COPY_AND_ASSIGN
491
  - key:             llvm-else-after-return.WarnOnUnfixable
492
    value:           'false'
493
...
494

495

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

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

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

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