|
1 | 1 | Checks: '
|
2 | 2 | clang-diagnostic-*,
|
3 |
| - boost-*, |
4 | 3 | Google-*,
|
5 | 4 | clang-analyzer-*,
|
6 | 5 | modernize-*,
|
7 | 6 | performance-*,
|
8 | 7 | portability-*,
|
9 | 8 | readability-*,
|
10 |
| - cppcoreguidelines-*, |
11 |
| - llvm-*, |
12 | 9 | cert-*,
|
13 |
| - -clang-analyzer-core.CallAndMessage' |
| 10 | + -readability-else-after-return, |
| 11 | + -clang-analyzer-core.CallAndMessage, |
| 12 | + -clang-analyzer-optin.performance.Padding, |
| 13 | + -readability-magic-numbers, |
| 14 | + -clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling, |
| 15 | + -readability-function-cognitive-complexity, |
| 16 | + -modernize-macro-to-enum |
| 17 | + ' |
14 | 18 | WarningsAsErrors: true
|
15 | 19 | HeaderFilterRegex: ''
|
16 | 20 | AnalyzeTemporaryDtors: false
|
17 | 21 | FormatStyle: none
|
18 |
| -CheckOptions: |
19 |
| - - key: cert-dcl16-c.NewSuffixes |
20 |
| - value: 'L;LL;LU;LLU' |
21 |
| - - key: cert-oop54-cpp.WarnOnlyIfThisHasSuspiciousField |
22 |
| - value: '0' |
23 |
| - - key: cppcoreguidelines-avoid-magic-numbers.IgnoredFloatingPointValues |
24 |
| - value: '1.0;100.0;' |
25 |
| - - key: cppcoreguidelines-avoid-magic-numbers.IgnoredIntegerValues |
26 |
| - value: '1;2;3;4;' |
27 |
| - - key: cppcoreguidelines-explicit-virtual-functions.FinalSpelling |
28 |
| - value: final |
29 |
| - - key: cppcoreguidelines-explicit-virtual-functions.IgnoreDestructors |
30 |
| - value: '1' |
31 |
| - - key: cppcoreguidelines-explicit-virtual-functions.OverrideSpelling |
32 |
| - value: override |
33 |
| - - key: cppcoreguidelines-macro-usage.AllowedRegexp |
34 |
| - value: '^DEBUG_*' |
35 |
| - - key: cppcoreguidelines-macro-usage.CheckCapsOnly |
36 |
| - value: '0' |
37 |
| - - key: cppcoreguidelines-macro-usage.IgnoreCommandLineMacros |
38 |
| - value: '1' |
39 |
| - - key: cppcoreguidelines-no-malloc.Allocations |
40 |
| - value: '::malloc;::calloc' |
41 |
| - - key: cppcoreguidelines-no-malloc.Deallocations |
42 |
| - value: '::free' |
43 |
| - - key: cppcoreguidelines-no-malloc.Reallocations |
44 |
| - value: '::realloc' |
45 |
| - - key: cppcoreguidelines-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic |
46 |
| - value: '1' |
47 |
| - - key: cppcoreguidelines-owning-memory.LegacyResourceConsumers |
48 |
| - value: '::free;::realloc;::freopen;::fclose' |
49 |
| - - key: cppcoreguidelines-owning-memory.LegacyResourceProducers |
50 |
| - value: '::malloc;::aligned_alloc;::realloc;::calloc;::fopen;::freopen;::tmpfile' |
51 |
| - - key: cppcoreguidelines-pro-bounds-constant-array-index.GslHeader |
52 |
| - value: '' |
53 |
| - - key: cppcoreguidelines-pro-bounds-constant-array-index.IncludeStyle |
54 |
| - value: 'llvm' |
55 |
| - - key: cppcoreguidelines-pro-type-member-init.IgnoreArrays |
56 |
| - value: '0' |
57 |
| - - key: cppcoreguidelines-pro-type-member-init.UseAssignment |
58 |
| - value: '0' |
59 |
| - - key: cppcoreguidelines-special-member-functions.AllowMissingMoveFunctions |
60 |
| - value: '0' |
61 |
| - - key: cppcoreguidelines-special-member-functions.AllowSoleDefaultDtor |
62 |
| - value: '0' |
63 |
| - - key: google-readability-braces-around-statements.ShortStatementLines |
64 |
| - value: '1' |
65 |
| - - key: google-readability-function-size.StatementThreshold |
66 |
| - value: '800' |
67 |
| - - key: google-readability-namespace-comments.ShortNamespaceLines |
68 |
| - value: '10' |
69 |
| - - key: google-readability-namespace-comments.SpacesBeforeComments |
70 |
| - value: '2' |
71 |
| - - key: llvm-namespace-comment.ShortNamespaceLines |
72 |
| - value: '1' |
73 |
| - - key: llvm-namespace-comment.SpacesBeforeComments |
74 |
| - value: '1' |
75 |
| - - key: modernize-loop-convert.MaxCopySize |
76 |
| - value: '16' |
77 |
| - - key: modernize-loop-convert.MinConfidence |
78 |
| - value: reasonable |
79 |
| - - key: modernize-loop-convert.NamingStyle |
80 |
| - value: CamelCase |
81 |
| - - key: modernize-make-shared.IgnoreMacros |
82 |
| - value: '1' |
83 |
| - - key: modernize-make-shared.IncludeStyle |
84 |
| - value: 'llvm' |
85 |
| - - key: modernize-make-shared.MakeSmartPtrFunction |
86 |
| - value: 'std::make_shared' |
87 |
| - - key: modernize-make-shared.MakeSmartPtrFunctionHeader |
88 |
| - value: memory |
89 |
| - - key: modernize-make-unique.IgnoreMacros |
90 |
| - value: '1' |
91 |
| - - key: modernize-make-unique.IncludeStyle |
92 |
| - value: 'llvm' |
93 |
| - - key: modernize-make-unique.MakeSmartPtrFunction |
94 |
| - value: 'std::make_unique' |
95 |
| - - key: modernize-make-unique.MakeSmartPtrFunctionHeader |
96 |
| - value: memory |
97 |
| - - key: modernize-pass-by-value.IncludeStyle |
98 |
| - value: llvm |
99 |
| - - key: modernize-pass-by-value.ValuesOnly |
100 |
| - value: '0' |
101 |
| - - key: modernize-raw-string-literal.ReplaceShorterLiterals |
102 |
| - value: '0' |
103 |
| - - key: modernize-replace-auto-ptr.IncludeStyle |
104 |
| - value: llvm |
105 |
| - - key: modernize-replace-random-shuffle.IncludeStyle |
106 |
| - value: llvm |
107 |
| - - key: modernize-use-auto.MinTypeNameLength |
108 |
| - value: '5' |
109 |
| - - key: modernize-use-auto.RemoveStars |
110 |
| - value: '0' |
111 |
| - - key: modernize-use-default-member-init.IgnoreMacros |
112 |
| - value: '1' |
113 |
| - - key: modernize-use-default-member-init.UseAssignment |
114 |
| - value: '0' |
115 |
| - - key: modernize-use-emplace.ContainersWithPushBack |
116 |
| - value: '::std::vector;::std::list;::std::deque' |
117 |
| - - key: modernize-use-emplace.SmartPointers |
118 |
| - value: '::std::shared_ptr;::std::unique_ptr;::std::auto_ptr;::std::weak_ptr' |
119 |
| - - key: modernize-use-emplace.TupleMakeFunctions |
120 |
| - value: '::std::make_pair;::std::make_tuple' |
121 |
| - - key: modernize-use-emplace.TupleTypes |
122 |
| - value: '::std::pair;::std::tuple' |
123 |
| - - key: modernize-use-equals-default.IgnoreMacros |
124 |
| - value: '1' |
125 |
| - - key: modernize-use-equals-delete.IgnoreMacros |
126 |
| - value: '1' |
127 |
| - - key: modernize-use-nodiscard.ReplacementString |
128 |
| - value: '[[nodiscard]]' |
129 |
| - - key: modernize-use-noexcept.ReplacementString |
130 |
| - value: '' |
131 |
| - - key: modernize-use-noexcept.UseNoexceptFalse |
132 |
| - value: '1' |
133 |
| - - key: modernize-use-nullptr.NullMacros |
134 |
| - value: 'NULL' |
135 |
| - - key: modernize-use-override.FinalSpelling |
136 |
| - value: final |
137 |
| - - key: modernize-use-override.IgnoreDestructors |
138 |
| - value: '0' |
139 |
| - - key: modernize-use-override.OverrideSpelling |
140 |
| - value: override |
141 |
| - - key: modernize-use-transparent-functors.SafeMode |
142 |
| - value: '0' |
143 |
| - - key: modernize-use-using.IgnoreMacros |
144 |
| - value: '1' |
145 |
| - - key: performance-faster-string-find.StringLikeClasses |
146 |
| - value: 'std::basic_string' |
147 |
| - - key: performance-for-range-copy.AllowedTypes |
148 |
| - value: '' |
149 |
| - - key: performance-for-range-copy.WarnOnAllAutoCopies |
150 |
| - value: '0' |
151 |
| - - key: performance-inefficient-string-concatenation.StrictMode |
152 |
| - value: '0' |
153 |
| - - key: performance-inefficient-vector-operation.VectorLikeClasses |
154 |
| - value: '::std::vector' |
155 |
| - - key: performance-move-const-arg.CheckTriviallyCopyableMove |
156 |
| - value: '1' |
157 |
| - - key: performance-move-constructor-init.IncludeStyle |
158 |
| - value: llvm |
159 |
| - - key: performance-type-promotion-in-math-fn.IncludeStyle |
160 |
| - value: llvm |
161 |
| - - key: performance-unnecessary-copy-initialization.AllowedTypes |
162 |
| - value: '' |
163 |
| - - key: performance-unnecessary-value-param.AllowedTypes |
164 |
| - value: '' |
165 |
| - - key: performance-unnecessary-value-param.IncludeStyle |
166 |
| - value: llvm |
167 |
| - - key: portability-simd-intrinsics.Std |
168 |
| - value: '' |
169 |
| - - key: portability-simd-intrinsics.Suggest |
170 |
| - value: '0' |
171 |
| - - key: readability-braces-around-statements.ShortStatementLines |
172 |
| - value: '0' |
173 |
| - - key: readability-function-size.BranchThreshold |
174 |
| - value: '4294967295' |
175 |
| - - key: readability-function-size.LineThreshold |
176 |
| - value: '4294967295' |
177 |
| - - key: readability-function-size.NestingThreshold |
178 |
| - value: '4294967295' |
179 |
| - - key: readability-function-size.ParameterThreshold |
180 |
| - value: '4294967295' |
181 |
| - - key: readability-function-size.StatementThreshold |
182 |
| - value: '800' |
183 |
| - - key: readability-function-size.VariableThreshold |
184 |
| - value: '4294967295' |
185 |
| - - key: readability-identifier-length.MinimumParameterNameLength |
186 |
| - value: 2 |
187 |
| - - key: readability-identifier-naming.IgnoreFailedSplit |
188 |
| - value: '0' |
189 |
| - - key: readability-implicit-bool-conversion.AllowIntegerConditions |
190 |
| - value: '0' |
191 |
| - - key: readability-implicit-bool-conversion.AllowPointerConditions |
192 |
| - value: '0' |
193 |
| - - key: readability-inconsistent-declaration-parameter-name.IgnoreMacros |
194 |
| - value: '1' |
195 |
| - - key: readability-inconsistent-declaration-parameter-name.Strict |
196 |
| - value: '0' |
197 |
| - - key: readability-magic-numbers.IgnoredFloatingPointValues |
198 |
| - value: '1.0;100.0;' |
199 |
| - - key: readability-magic-numbers.IgnoredIntegerValues |
200 |
| - value: '1;2;3;4;' |
201 |
| - - key: readability-redundant-smartptr-get.IgnoreMacros |
202 |
| - value: '1' |
203 |
| - - key: readability-simplify-boolean-expr.ChainedConditionalAssignment |
204 |
| - value: '0' |
205 |
| - - key: readability-simplify-boolean-expr.ChainedConditionalReturn |
206 |
| - value: '0' |
207 |
| - - key: readability-simplify-subscript-expr.Types |
208 |
| - value: '::std::basic_string;::std::basic_string_view;::std::vector;::std::array' |
209 |
| - - key: readability-static-accessed-through-instance.NameSpecifierNestingThreshold |
210 |
| - value: '3' |
211 |
| - - key: readability-uppercase-literal-suffix.IgnoreMacros |
212 |
| - value: '1' |
213 |
| - - key: readability-uppercase-literal-suffix.NewSuffixes |
214 |
| - value: '' |
0 commit comments