-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-tidy
174 lines (173 loc) · 15.3 KB
/
.clang-tidy
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
---
Checks: 'clang-diagnostic-*,clang-analyzer-*,-*,cert-con36-c,cert-con54-cpp,cert-dcl03-c,cert-dcl16-c,cert-dcl21-cpp,cert-dcl37-c,cert-dcl50-cpp,cert-dcl51-cpp,cert-dcl54-cpp,cert-dcl58-cpp,cert-dcl59-cpp,cert-env33-c,cert-err09-cpp,cert-err34-c,cert-err52-cpp,cert-err60-cpp,cert-err61-cpp,cert-exp42-c,cert-fio38-c,cert-flp30-c,cert-flp37-c,cert-mem57-cpp,cert-msc30-c,cert-msc32-c,cert-msc50-cpp,cert-msc51-cpp,cert-msc54-cpp,cert-oop11-cpp,cert-oop54-cpp,cert-oop57-cpp,cert-oop58-cpp,cert-pos44-c,cert-pos47-c,cert-sig30-c,cert-str34-c,clang-*,cppcoreguidelines-avoid-goto,cppcoreguidelines-avoid-reference-coroutine-parameters,cppcoreguidelines-c-copy-assignment-signature,cppcoreguidelines-explicit-virtual-functions,cppcoreguidelines-init-variables,cppcoreguidelines-interfaces-global-init,cppcoreguidelines-pro-type-cstyle-cast,cppcoreguidelines-pro-type-static-cast-downcast,cppcoreguidelines-slicing,misc-confusable-identifiers,misc-const-correctness,misc-definitions-in-headers,misc-misleading-*,misc-new-delete-overloads,misc-non-copyable-objects,misc-redundant-expression,misc-static-assert,misc-throw-by-value-catch-by-reference,misc-unconventional-assign-operator,misc-uniqueptr-reset-release,misc-unused-*,modernize-avoid-bind,modernize-concat-nested-namespaces,modernize-deprecated-*,modernize-make-*,modernize-raw-string-literal,modernize-redundant-void-arg,modernize-replace-*,modernize-shrink-to-fit,modernize-unary-static-assert,modernize-use-bool-literals,modernize-use-default-member-init,modernize-use-emplace,modernize-use-equals-delete,modernize-use-noexcept,modernize-use-nullptr,modernize-use-override,modernize-use-transparent-functors,modernize-use-uncaught-exceptions,modernize-use-using,performance-faster-string-find,performance-for-range-copy,performance-implicit-conversion-in-loop,performance-inefficient-algorithm,performance-inefficient-vector-operation,performance-move-*,performance-no-*,performance-noexcept-move-constructor,performance-trivially-destructible,performance-type-promotion-in-math-fn,performance-unnecessary-copy-initialization,portability-*,readability-avoid-const-params-in-decls,readability-braces-around-statements,readability-const-return-type,readability-container-*,readability-convert-member-functions-to-static,readability-delete-null-pointer,readability-duplicate-include,readability-else-after-return,readability-function-size,readability-identifier-naming,readability-implicit-bool-conversion,readability-inconsistent-declaration-parameter-name,readability-isolate-declaration,readability-make-member-function-const,readability-misleading-indentation,readability-misplaced-array-index,readability-named-parameter,readability-non-const-parameter,readability-qualified-auto,readability-redundant-*,readability-simplify-*,readability-static-accessed-through-instance,readability-string-compare,readability-suspicious-call-argument,readability-uniqueptr-delete-release,readability-uppercase-literal-suffix,readability-use-anyofallof'
WarningsAsErrors: ''
HeaderFilterRegex: ''
AnalyzeTemporaryDtors: false
FormatStyle: none
User: voc
CheckOptions:
performance-unnecessary-copy-initialization.ExcludedContainerTypes: ''
readability-suspicious-call-argument.PrefixSimilarAbove: '30'
modernize-replace-auto-ptr.IncludeStyle: llvm
performance-move-const-arg.CheckTriviallyCopyableMove: 'true'
misc-const-correctness.TransformReferences: 'true'
readability-static-accessed-through-instance.NameSpecifierNestingThreshold: '3'
readability-simplify-boolean-expr.SimplifyDeMorgan: 'true'
readability-function-size.VariableThreshold: '4294967295'
readability-simplify-subscript-expr.Types: '::std::basic_string;::std::basic_string_view;::std::vector;::std::array'
cert-dcl16-c.NewSuffixes: 'L;LL;LU;LLU'
cert-dcl51-cpp.AggressiveDependentMemberLookup: 'false'
readability-identifier-naming.GetConfigPerFile: 'true'
misc-const-correctness.AnalyzeValues: 'true'
cert-sig30-c.AsyncSafeFunctionSet: POSIX
readability-inconsistent-declaration-parameter-name.Strict: 'false'
cert-err61-cpp.MaxSize: '-1'
modernize-replace-disallow-copy-and-assign-macro.MacroName: DISALLOW_COPY_AND_ASSIGN
modernize-use-default-member-init.UseAssignment: 'false'
readability-suspicious-call-argument.DiceDissimilarBelow: '60'
cert-dcl37-c.AllowedIdentifiers: ''
readability-function-size.NestingThreshold: '4294967295'
modernize-use-override.AllowOverrideAndFinal: 'false'
cert-dcl16-c.IgnoreMacros: 'true'
readability-function-size.ParameterThreshold: '4294967295'
readability-suspicious-call-argument.Equality: 'true'
cert-str34-c.DiagnoseSignedUnsignedCharComparisons: 'false'
misc-uniqueptr-reset-release.IncludeStyle: llvm
cert-err33-c.CheckedFunctions: '::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;'
cppcoreguidelines-explicit-virtual-functions.AllowOverrideAndFinal: 'false'
readability-redundant-smartptr-get.IgnoreMacros: 'true'
readability-identifier-naming.AggressiveDependentMemberLookup: 'false'
readability-const-return-type.IgnoreMacros: 'true'
cert-err61-cpp.WarnOnLargeObjects: 'false'
cert-err09-cpp.WarnOnLargeObjects: 'false'
misc-const-correctness.WarnPointersAsValues: 'false'
modernize-use-emplace.TupleTypes: '::std::pair;::std::tuple'
modernize-use-emplace.TupleMakeFunctions: '::std::make_pair;::std::make_tuple'
cppcoreguidelines-init-variables.IncludeStyle: llvm
modernize-replace-random-shuffle.IncludeStyle: llvm
readability-avoid-const-params-in-decls.IgnoreMacros: 'true'
modernize-use-bool-literals.IgnoreMacros: 'true'
google-readability-namespace-comments.ShortNamespaceLines: '10'
readability-suspicious-call-argument.JaroWinklerDissimilarBelow: '75'
readability-suspicious-call-argument.SuffixSimilarAbove: '30'
misc-definitions-in-headers.HeaderFileExtensions: ';h;hh;hpp;hxx'
modernize-use-emplace.ContainersWithPush: '::std::stack;::std::queue;::std::priority_queue'
cert-err09-cpp.MaxSize: '-1'
readability-suspicious-call-argument.Suffix: 'true'
modernize-avoid-bind.PermissiveParameterList: 'false'
modernize-use-noexcept.ReplacementString: ''
modernize-use-using.IgnoreMacros: 'true'
cert-oop57-cpp.MemSetNames: ''
modernize-use-override.FinalSpelling: final
performance-type-promotion-in-math-fn.IncludeStyle: llvm
readability-suspicious-call-argument.MinimumIdentifierNameLength: '3'
cppcoreguidelines-explicit-virtual-functions.FinalSpelling: final
modernize-loop-convert.NamingStyle: CamelCase
readability-inconsistent-declaration-parameter-name.IgnoreMacros: 'true'
performance-no-automatic-move.AllowedTypes: ''
readability-suspicious-call-argument.SubstringDissimilarBelow: '40'
performance-for-range-copy.WarnOnAllAutoCopies: 'false'
readability-identifier-naming.IgnoreFailedSplit: 'false'
modernize-pass-by-value.IncludeStyle: llvm
readability-qualified-auto.AddConstToQualified: 'true'
cppcoreguidelines-explicit-virtual-functions.OverrideSpelling: override
readability-simplify-boolean-expr.ChainedConditionalReturn: 'false'
readability-else-after-return.WarnOnConditionVariables: 'true'
misc-const-correctness.TransformValues: 'true'
modernize-make-shared.IgnoreMacros: 'true'
modernize-use-nullptr.NullMacros: 'NULL'
readability-uppercase-literal-suffix.IgnoreMacros: 'true'
cert-dcl59-cpp.HeaderFileExtensions: ';h;hh;hpp;hxx'
modernize-use-emplace.ContainersWithPushFront: '::std::forward_list;::std::list;::std::deque'
performance-unnecessary-copy-initialization.AllowedTypes: ''
readability-suspicious-call-argument.LevenshteinSimilarAbove: '66'
readability-suspicious-call-argument.SuffixDissimilarBelow: '25'
modernize-make-shared.IgnoreDefaultInitialization: 'true'
modernize-use-transparent-functors.SafeMode: 'false'
readability-suspicious-call-argument.JaroWinkler: 'true'
misc-throw-by-value-catch-by-reference.CheckThrowTemporaries: 'true'
modernize-make-shared.IncludeStyle: llvm
readability-suspicious-call-argument.Levenshtein: 'true'
readability-suspicious-call-argument.Prefix: 'true'
readability-simplify-boolean-expr.ChainedConditionalAssignment: 'false'
cert-oop54-cpp.WarnOnlyIfThisHasSuspiciousField: 'false'
cert-err09-cpp.CheckThrowTemporaries: 'true'
cert-dcl51-cpp.Invert: 'false'
readability-function-size.LineThreshold: '4294967295'
modernize-loop-convert.MaxCopySize: '16'
readability-suspicious-call-argument.PrefixDissimilarBelow: '25'
modernize-make-shared.MakeSmartPtrFunction: 'std::make_shared'
modernize-deprecated-headers.CheckHeaderFile: 'false'
portability-simd-intrinsics.Suggest: 'false'
modernize-use-override.IgnoreDestructors: 'false'
cppcoreguidelines-explicit-virtual-functions.IgnoreDestructors: 'false'
modernize-make-unique.IgnoreMacros: 'true'
modernize-make-shared.MakeSmartPtrFunctionHeader: '<memory>'
performance-for-range-copy.AllowedTypes: ''
performance-inefficient-vector-operation.EnableProto: 'false'
readability-redundant-string-init.StringNames: '::std::basic_string_view;::std::basic_string'
modernize-make-unique.IgnoreDefaultInitialization: 'true'
modernize-use-emplace.ContainersWithPushBack: '::std::vector;::std::list;::std::deque'
misc-const-correctness.AnalyzeReferences: 'true'
modernize-make-unique.IncludeStyle: llvm
readability-braces-around-statements.ShortStatementLines: '0'
modernize-use-override.OverrideSpelling: override
readability-suspicious-call-argument.LevenshteinDissimilarBelow: '50'
readability-implicit-bool-conversion.AllowPointerConditions: 'false'
readability-redundant-declaration.IgnoreMacros: 'true'
google-readability-braces-around-statements.ShortStatementLines: '1'
modernize-make-unique.MakeSmartPtrFunction: 'std::make_unique'
portability-restrict-system-includes.Includes: '*'
readability-else-after-return.WarnOnUnfixable: 'true'
cert-dcl51-cpp.AllowedIdentifiers: ''
modernize-use-emplace.IgnoreImplicitConstructors: 'false'
cert-oop57-cpp.MemCpyNames: ''
modernize-make-unique.MakeSmartPtrFunctionHeader: '<memory>'
readability-suspicious-call-argument.SubstringSimilarAbove: '50'
readability-suspicious-call-argument.Substring: 'true'
modernize-use-equals-delete.IgnoreMacros: 'true'
performance-move-const-arg.CheckMoveToConstRef: 'true'
modernize-use-emplace.EmplacyFunctions: 'vector::emplace_back;vector::emplace;deque::emplace;deque::emplace_front;deque::emplace_back;forward_list::emplace_after;forward_list::emplace_front;list::emplace;list::emplace_back;list::emplace_front;set::emplace;set::emplace_hint;map::emplace;map::emplace_hint;multiset::emplace;multiset::emplace_hint;multimap::emplace;multimap::emplace_hint;unordered_set::emplace;unordered_set::emplace_hint;unordered_map::emplace;unordered_map::emplace_hint;unordered_multiset::emplace;unordered_multiset::emplace_hint;unordered_multimap::emplace;unordered_multimap::emplace_hint;stack::emplace;queue::emplace;priority_queue::emplace'
readability-suspicious-call-argument.Abbreviations: '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'
readability-uppercase-literal-suffix.NewSuffixes: ''
modernize-loop-convert.MinConfidence: reasonable
misc-throw-by-value-catch-by-reference.MaxSize: '-1'
readability-uniqueptr-delete-release.PreferResetCall: 'false'
misc-definitions-in-headers.UseHeaderFileExtension: 'true'
google-readability-namespace-comments.SpacesBeforeComments: '2'
cppcoreguidelines-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic: 'true'
readability-simplify-boolean-expr.SimplifyDeMorganRelaxed: 'false'
cert-oop57-cpp.MemCmpNames: ''
performance-faster-string-find.StringLikeClasses: '::std::basic_string;::std::basic_string_view'
readability-function-size.BranchThreshold: '4294967295'
modernize-use-noexcept.UseNoexceptFalse: 'true'
readability-implicit-bool-conversion.AllowIntegerConditions: 'false'
cert-err61-cpp.CheckThrowTemporaries: 'true'
readability-function-size.StatementThreshold: '800'
llvm-qualified-auto.AddConstToQualified: 'false'
modernize-use-default-member-init.IgnoreMacros: 'true'
readability-identifier-naming.IgnoreMainLikeFunctions: 'false'
cppcoreguidelines-init-variables.MathHeader: '<math.h>'
cert-str34-c.CharTypdefsToIgnore: ''
google-readability-function-size.StatementThreshold: '800'
llvm-else-after-return.WarnOnConditionVariables: 'false'
cert-msc51-cpp.DisallowedSeedTypes: 'time_t,std::time_t'
readability-suspicious-call-argument.DiceSimilarAbove: '70'
modernize-raw-string-literal.DelimiterStem: lit
readability-suspicious-call-argument.Dice: 'true'
readability-suspicious-call-argument.Abbreviation: 'true'
misc-throw-by-value-catch-by-reference.WarnOnLargeObjects: 'false'
cert-dcl37-c.Invert: 'false'
cert-dcl37-c.AggressiveDependentMemberLookup: 'false'
modernize-raw-string-literal.ReplaceShorterLiterals: 'false'
cert-msc54-cpp.AsyncSafeFunctionSet: POSIX
modernize-use-emplace.SmartPointers: '::std::shared_ptr;::std::unique_ptr;::std::auto_ptr;::std::weak_ptr'
performance-inefficient-vector-operation.VectorLikeClasses: '::std::vector'
portability-simd-intrinsics.Std: ''
misc-const-correctness.TransformPointersAsValues: 'false'
readability-redundant-member-init.IgnoreBaseInCopyConstructors: 'false'
readability-suspicious-call-argument.JaroWinklerSimilarAbove: '85'
misc-unused-parameters.StrictMode: 'false'
llvm-else-after-return.WarnOnUnfixable: 'false'
cert-msc32-c.DisallowedSeedTypes: 'time_t,std::time_t'
...