blob: 0c9cc0ba431ecff8a73b0d62631340dd6c5a9cc1 [file] [log] [blame]
Ed Tanous82897c32022-02-21 14:11:59 -08001Checks: '
2-*,
3boost-use-to-string,
4bugprone-argument-comment,
5bugprone-assert-side-effect,
6bugprone-bad-signal-to-kill-thread,
7bugprone-bool-pointer-implicit-conversion,
8bugprone-branch-clone,
9bugprone-copy-constructor-init,
10bugprone-dangling-handle,
11bugprone-dynamic-static-initializers,
12bugprone-exception-escape,
13bugprone-fold-init-type,
14bugprone-forward-declaration-namespace,
15bugprone-forwarding-reference-overload,
16bugprone-implicit-widening-of-multiplication-result,
17bugprone-inaccurate-erase,
18bugprone-incorrect-roundings,
19bugprone-infinite-loop,
20bugprone-integer-division,
21bugprone-lambda-function-name,
22bugprone-macro-parentheses,
23bugprone-macro-repeated-side-effects,
24bugprone-misplaced-operator-in-strlen-in-alloc,
25bugprone-misplaced-pointer-arithmetic-in-alloc,
26bugprone-misplaced-widening-cast,
27bugprone-move-forwarding-reference,
28bugprone-multiple-statement-macro,
29bugprone-narrowing-conversions,
30bugprone-no-escape,
31bugprone-not-null-terminated-result,
32bugprone-parent-virtual-call,
33bugprone-posix-return,
34bugprone-redundant-branch-condition,
35bugprone-reserved-identifier,
36bugprone-signal-handler,
37bugprone-signed-char-misuse,
38bugprone-sizeof-container,
39bugprone-sizeof-expression,
40bugprone-spuriously-wake-up-functions,
41bugprone-string-constructor,
42bugprone-string-integer-assignment,
43bugprone-string-literal-with-embedded-nul,
44bugprone-suspicious-enum-usage,
45bugprone-suspicious-include,
46bugprone-suspicious-memset-usage,
47bugprone-suspicious-missing-comma,
48bugprone-suspicious-semicolon,
49bugprone-suspicious-string-compare,
50bugprone-swapped-arguments,
51bugprone-terminating-continue,
52bugprone-throw-keyword-missing,
53bugprone-too-small-loop-variable,
54bugprone-undefined-memory-manipulation,
55bugprone-undelegated-constructor,
56bugprone-unhandled-exception-at-new,
57bugprone-unhandled-self-assignment,
58bugprone-unused-raii,
59bugprone-unused-return-value,
60bugprone-use-after-move,
61bugprone-virtual-near-miss,
62cert-con36-c,
63cert-con54-cpp,
64cert-dcl03-c,
65cert-dcl16-c,
66cert-dcl21-cpp,
67cert-dcl37-c,
68cert-dcl50-cpp,
69cert-dcl51-cpp,
70cert-dcl54-cpp,
71cert-dcl58-cpp,
72cert-dcl59-cpp,
73cert-env33-c,
74cert-err09-cpp,
75cert-err34-c,
76cert-err52-cpp,
77cert-err60-cpp,
78cert-err61-cpp,
79cert-fio38-c,
80cert-flp30-c,
81cert-mem57-cpp,
82cert-msc30-c,
83cert-msc32-c,
84cert-msc50-cpp,
85cert-msc51-cpp,
86cert-oop11-cpp,
87cert-oop54-cpp,
88cert-oop57-cpp,
89cert-oop58-cpp,
90cert-pos44-c,
91cert-pos47-c,
92cert-sig30-c,
93cert-str34-c,
94clang-analyzer-apiModeling.StdCLibraryFunctions,
95clang-analyzer-apiModeling.TrustNonnull,
96clang-analyzer-apiModeling.google.GTest,
97clang-analyzer-apiModeling.llvm.CastValue,
98clang-analyzer-apiModeling.llvm.ReturnValue,
99clang-analyzer-core.CallAndMessage,
100clang-analyzer-core.CallAndMessageModeling,
101clang-analyzer-core.DivideZero,
102clang-analyzer-core.DynamicTypePropagation,
103clang-analyzer-core.NonNullParamChecker,
104clang-analyzer-core.NonnilStringConstants,
105clang-analyzer-core.NullDereference,
106clang-analyzer-core.StackAddrEscapeBase,
107clang-analyzer-core.StackAddressEscape,
108clang-analyzer-core.UndefinedBinaryOperatorResult,
109clang-analyzer-core.VLASize,
110clang-analyzer-core.builtin.BuiltinFunctions,
111clang-analyzer-core.builtin.NoReturnFunctions,
112clang-analyzer-core.uninitialized.ArraySubscript,
113clang-analyzer-core.uninitialized.Assign,
114clang-analyzer-core.uninitialized.Branch,
115clang-analyzer-core.uninitialized.CapturedBlockVariable,
116clang-analyzer-core.uninitialized.UndefReturn,
117clang-analyzer-cplusplus.InnerPointer,
118clang-analyzer-cplusplus.Move,
119clang-analyzer-cplusplus.NewDelete,
120clang-analyzer-cplusplus.NewDeleteLeaks,
121clang-analyzer-cplusplus.PlacementNew,
122clang-analyzer-cplusplus.PureVirtualCall,
123clang-analyzer-cplusplus.SelfAssignment,
124clang-analyzer-cplusplus.SmartPtrModeling,
125clang-analyzer-cplusplus.VirtualCallModeling,
126clang-analyzer-deadcode.DeadStores,
127clang-analyzer-fuchsia.HandleChecker,
128clang-analyzer-nullability.NullPassedToNonnull,
129clang-analyzer-nullability.NullReturnedFromNonnull,
130clang-analyzer-nullability.NullabilityBase,
131clang-analyzer-nullability.NullableDereferenced,
132clang-analyzer-nullability.NullablePassedToNonnull,
133clang-analyzer-nullability.NullableReturnedFromNonnull,
134clang-analyzer-optin.cplusplus.UninitializedObject,
135clang-analyzer-optin.cplusplus.VirtualCall,
136clang-analyzer-optin.mpi.MPI-Checker,
137clang-analyzer-optin.osx.OSObjectCStyleCast,
138clang-analyzer-optin.osx.cocoa.localizability.EmptyLocalizationContextChecker,
139clang-analyzer-optin.osx.cocoa.localizability.NonLocalizedStringChecker,
140clang-analyzer-optin.performance.GCDAntipattern,
141clang-analyzer-optin.performance.Padding,
142clang-analyzer-optin.portability.UnixAPI,
143clang-analyzer-osx.API,
144clang-analyzer-osx.MIG,
145clang-analyzer-osx.NSOrCFErrorDerefChecker,
146clang-analyzer-osx.NumberObjectConversion,
147clang-analyzer-osx.OSObjectRetainCount,
148clang-analyzer-osx.ObjCProperty,
149clang-analyzer-osx.SecKeychainAPI,
150clang-analyzer-osx.cocoa.AtSync,
151clang-analyzer-osx.cocoa.AutoreleaseWrite,
152clang-analyzer-osx.cocoa.ClassRelease,
153clang-analyzer-osx.cocoa.Dealloc,
154clang-analyzer-osx.cocoa.IncompatibleMethodTypes,
155clang-analyzer-osx.cocoa.Loops,
156clang-analyzer-osx.cocoa.MissingSuperCall,
157clang-analyzer-osx.cocoa.NSAutoreleasePool,
158clang-analyzer-osx.cocoa.NSError,
159clang-analyzer-osx.cocoa.NilArg,
160clang-analyzer-osx.cocoa.NonNilReturnValue,
161clang-analyzer-osx.cocoa.ObjCGenerics,
162clang-analyzer-osx.cocoa.RetainCount,
163clang-analyzer-osx.cocoa.RetainCountBase,
164clang-analyzer-osx.cocoa.RunLoopAutoreleaseLeak,
165clang-analyzer-osx.cocoa.SelfInit,
166clang-analyzer-osx.cocoa.SuperDealloc,
167clang-analyzer-osx.cocoa.UnusedIvars,
168clang-analyzer-osx.cocoa.VariadicMethodTypes,
169clang-analyzer-osx.coreFoundation.CFError,
170clang-analyzer-osx.coreFoundation.CFNumber,
171clang-analyzer-osx.coreFoundation.CFRetainRelease,
172clang-analyzer-osx.coreFoundation.containers.OutOfBounds,
173clang-analyzer-osx.coreFoundation.containers.PointerSizedValues,
174clang-analyzer-security.FloatLoopCounter,
175clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
176clang-analyzer-security.insecureAPI.SecuritySyntaxChecker,
177clang-analyzer-security.insecureAPI.UncheckedReturn,
178clang-analyzer-security.insecureAPI.bcmp,
179clang-analyzer-security.insecureAPI.bcopy,
180clang-analyzer-security.insecureAPI.bzero,
181clang-analyzer-security.insecureAPI.decodeValueOfObjCType,
182clang-analyzer-security.insecureAPI.getpw,
183clang-analyzer-security.insecureAPI.gets,
184clang-analyzer-security.insecureAPI.mkstemp,
185clang-analyzer-security.insecureAPI.mktemp,
186clang-analyzer-security.insecureAPI.rand,
187clang-analyzer-security.insecureAPI.strcpy,
188clang-analyzer-security.insecureAPI.vfork,
189clang-analyzer-unix.API,
190clang-analyzer-unix.DynamicMemoryModeling,
191clang-analyzer-unix.Malloc,
192clang-analyzer-unix.MallocSizeof,
193clang-analyzer-unix.MismatchedDeallocator,
194clang-analyzer-unix.Vfork,
195clang-analyzer-unix.cstring.BadSizeArg,
196clang-analyzer-unix.cstring.CStringModeling,
197clang-analyzer-unix.cstring.NullArg,
198clang-analyzer-valist.CopyToSelf,
199clang-analyzer-valist.Uninitialized,
200clang-analyzer-valist.Unterminated,
201clang-analyzer-valist.ValistBase,
202clang-analyzer-webkit.NoUncountedMemberChecker,
203clang-analyzer-webkit.RefCntblBaseVirtualDtor,
204cppcoreguidelines-avoid-c-arrays,
205cppcoreguidelines-c-copy-assignment-signature,
206cppcoreguidelines-explicit-virtual-functions,
207cppcoreguidelines-init-variables,
208cppcoreguidelines-interfaces-global-init,
209cppcoreguidelines-macro-usage,
210cppcoreguidelines-narrowing-conversions,
211cppcoreguidelines-no-malloc,
212cppcoreguidelines-prefer-member-initializer,
213cppcoreguidelines-pro-bounds-array-to-pointer-decay,
214cppcoreguidelines-pro-bounds-pointer-arithmetic,
215cppcoreguidelines-pro-type-const-cast,
216cppcoreguidelines-pro-type-cstyle-cast,
217cppcoreguidelines-pro-type-member-init,
218cppcoreguidelines-pro-type-static-cast-downcast,
219cppcoreguidelines-pro-type-union-access,
220cppcoreguidelines-pro-type-vararg,
221cppcoreguidelines-slicing,
222cppcoreguidelines-special-member-functions,
223misc-misplaced-const,
224#misc-no-recursion,
225misc-redundant-expression,
226misc-static-assert,
227misc-throw-by-value-catch-by-reference,
228misc-unconventional-assign-operator,
229misc-uniqueptr-reset-release,
230misc-unused-using-decls,
231modernize-avoid-bind,
232modernize-deprecated-headers,
233modernize-deprecated-ios-base-aliases,
234modernize-loop-convert,
235modernize-make-shared,
236modernize-make-unique,
237modernize-raw-string-literal,
238modernize-replace-auto-ptr,
239modernize-replace-random-shuffle,
240modernize-return-braced-init-list,
241modernize-shrink-to-fit,
242modernize-unary-static-assert,
243modernize-use-bool-literals,
244modernize-use-default-member-init,
245modernize-use-emplace,
246modernize-use-equals-default,
247modernize-use-equals-delete,
248modernize-use-noexcept,
249modernize-use-nullptr,
250modernize-use-override,
251modernize-use-transparent-functors,
252modernize-use-uncaught-exceptions,
253modernize-use-using,
254performance-faster-string-find,
255performance-for-range-copy,
256performance-implicit-conversion-in-loop,
257performance-inefficient-algorithm,
258performance-inefficient-string-concatenation,
259performance-inefficient-vector-operation,
260performance-move-const-arg,
261performance-move-constructor-init,
262performance-no-automatic-move,
263performance-no-int-to-ptr,
264performance-noexcept-move-constructor,
265performance-trivially-destructible,
266performance-type-promotion-in-math-fn,
267performance-unnecessary-copy-initialization,
268performance-unnecessary-value-param,
269readability-avoid-const-params-in-decls,
270readability-braces-around-statements,
271readability-const-return-type,
272readability-container-size-empty,
273readability-delete-null-pointer,
274readability-deleted-default,
275readability-else-after-return,
276readability-implicit-bool-conversion,
277readability-named-parameter,
278readability-redundant-control-flow,
279readability-redundant-declaration,
280readability-redundant-function-ptr-dereference,
281readability-redundant-member-init,
282readability-redundant-preprocessor,
283readability-redundant-smartptr-get,
284readability-redundant-string-cstr,
285readability-redundant-string-init,
286readability-static-accessed-through-instance,
287readability-identifier-naming,
288readability-uppercase-literal-suffix'
289
290WarningsAsErrors: '*'
291HeaderFilterRegex: '.*'
292CheckOptions:
293 - { key: readability-identifier-naming.ClassCase, value: CamelCase }
294 - { key: readability-identifier-naming.VariableCase, value: camelBack }
295 - { key: readability-identifier-naming.FunctionCase, value: camelBack }
296 - { key: readability-identifier-naming.ParameterCase, value: camelBack }
297 - { key: readability-identifier-naming.NamespaceCase, value: lower_case }
298 - { key: readability-identifier-naming.StructCase, value: CamelCase }
John Edward Broadbent605085a2021-11-05 13:45:45 -0700299 - { key: cppcoreguidelines-macro-usage.AllowedRegexp, value: ((ERASE_MIN_GEOMETRY)|(ERASE_MAX_GEOMETRY)|(twiddleextCsdEraseGroupDef)) }
Ed Tanous82897c32022-02-21 14:11:59 -0800300