blob: 086b9aac4883ef810e5970c856a7050e28cfca2e [file] [log] [blame]
Pavithra Barithayae9b5fe72024-06-22 00:43:59 -05001Checks: ' -*,
2bugprone-argument-comment,
3bugprone-assert-side-effect,
4bugprone-bad-signal-to-kill-thread,
5bugprone-bool-pointer-implicit-conversion,
6bugprone-branch-clone,
7bugprone-copy-constructor-init,
8bugprone-dangling-handle,
9bugprone-dynamic-static-initializers,
10bugprone-fold-init-type,
11bugprone-forward-declaration-namespace,
12bugprone-forwarding-reference-overload,
Pavithra Barithaya5b2e89a2024-06-22 00:50:41 -050013bugprone-implicit-widening-of-multiplication-result,
Pavithra Barithayae9b5fe72024-06-22 00:43:59 -050014bugprone-inaccurate-erase,
15bugprone-incorrect-roundings,
16bugprone-infinite-loop,
17bugprone-integer-division,
18bugprone-lambda-function-name,
19bugprone-macro-parentheses,
20bugprone-macro-repeated-side-effects,
21bugprone-misplaced-operator-in-strlen-in-alloc,
22bugprone-misplaced-pointer-arithmetic-in-alloc,
23bugprone-misplaced-widening-cast,
24bugprone-move-forwarding-reference,
25bugprone-multiple-statement-macro,
Pavithra Barithaya9de4b8c2024-06-22 01:04:37 -050026bugprone-narrowing-conversions,
Pavithra Barithayae9b5fe72024-06-22 00:43:59 -050027bugprone-no-escape,
28bugprone-not-null-terminated-result,
29bugprone-parent-virtual-call,
30bugprone-posix-return,
31bugprone-redundant-branch-condition,
32bugprone-reserved-identifier,
33bugprone-signal-handler,
34bugprone-signed-char-misuse,
35bugprone-sizeof-container,
36bugprone-sizeof-expression,
37bugprone-spuriously-wake-up-functions,
38bugprone-string-constructor,
39bugprone-string-integer-assignment,
40bugprone-string-literal-with-embedded-nul,
41bugprone-suspicious-enum-usage,
42bugprone-suspicious-include,
43bugprone-suspicious-memset-usage,
44bugprone-suspicious-missing-comma,
45bugprone-suspicious-semicolon,
46bugprone-suspicious-string-compare,
47bugprone-swapped-arguments,
48bugprone-terminating-continue,
49bugprone-throw-keyword-missing,
50bugprone-too-small-loop-variable,
51bugprone-undefined-memory-manipulation,
52bugprone-undelegated-constructor,
53bugprone-unhandled-exception-at-new,
54bugprone-unhandled-self-assignment,
55bugprone-unused-raii,
56bugprone-unused-return-value,
57bugprone-use-after-move,
Pavithra Barithaya91b4c0e2024-06-22 01:12:38 -050058bugprone-virtual-near-miss,
59cert-con36-c,
60cert-con54-cpp,
61cert-dcl03-c,
62cert-dcl16-c,
63cert-dcl21-cpp,
64cert-dcl37-c,
65cert-dcl50-cpp,
66cert-dcl51-cpp,
67cert-dcl54-cpp,
68cert-dcl58-cpp,
69cert-dcl59-cpp,
70cert-err09-cpp,
71cert-err34-c,
72cert-err52-cpp,
73cert-err60-cpp,
74cert-err61-cpp,
75cert-fio38-c,
76cert-flp30-c,
77cert-mem57-cpp,
78cert-msc30-c,
79cert-msc32-c,
80cert-msc50-cpp,
81cert-msc51-cpp,
82cert-oop11-cpp,
83cert-oop54-cpp,
84cert-oop57-cpp,
85cert-oop58-cpp,
86cert-pos44-c,
87cert-pos47-c,
88cert-sig30-c,
Pavithra Barithaya8c6a2652024-06-22 01:26:04 -050089cert-str34-c,
90clang-analyzer-apiModeling.StdCLibraryFunctions,
91clang-analyzer-apiModeling.TrustNonnull,
92clang-analyzer-apiModeling.google.GTest,
93clang-analyzer-apiModeling.llvm.CastValue,
94clang-analyzer-apiModeling.llvm.ReturnValue,
95clang-analyzer-core.CallAndMessage,
96clang-analyzer-core.CallAndMessageModeling,
97clang-analyzer-core.DivideZero,
98clang-analyzer-core.DynamicTypePropagation,
99clang-analyzer-core.NonNullParamChecker,
100clang-analyzer-core.NonnilStringConstants,
101clang-analyzer-core.NullDereference,
102clang-analyzer-core.StackAddrEscapeBase,
103clang-analyzer-core.StackAddressEscape,
104clang-analyzer-core.UndefinedBinaryOperatorResult,
105clang-analyzer-core.VLASize,
106clang-analyzer-core.builtin.BuiltinFunctions,
107clang-analyzer-core.builtin.NoReturnFunctions,
108clang-analyzer-core.uninitialized.ArraySubscript,
109clang-analyzer-core.uninitialized.Assign,
110clang-analyzer-core.uninitialized.Branch,
111clang-analyzer-core.uninitialized.CapturedBlockVariable,
112clang-analyzer-core.uninitialized.UndefReturn,
113clang-analyzer-cplusplus.InnerPointer,
114clang-analyzer-cplusplus.Move,
115clang-analyzer-cplusplus.NewDelete,
116clang-analyzer-cplusplus.NewDeleteLeaks,
117clang-analyzer-cplusplus.PlacementNew,
118clang-analyzer-cplusplus.PureVirtualCall,
119clang-analyzer-cplusplus.SelfAssignment,
120clang-analyzer-cplusplus.SmartPtrModeling,
121clang-analyzer-cplusplus.VirtualCallModeling,
122clang-analyzer-fuchsia.HandleChecker,
123clang-analyzer-nullability.NullPassedToNonnull,
124clang-analyzer-nullability.NullReturnedFromNonnull,
125clang-analyzer-nullability.NullabilityBase,
126clang-analyzer-nullability.NullableDereferenced,
127clang-analyzer-nullability.NullablePassedToNonnull,
128clang-analyzer-nullability.NullableReturnedFromNonnull,
129clang-analyzer-optin.cplusplus.UninitializedObject,
130clang-analyzer-optin.mpi.MPI-Checker,
131clang-analyzer-optin.osx.OSObjectCStyleCast,
132clang-analyzer-optin.osx.cocoa.localizability.EmptyLocalizationContextChecker,
133clang-analyzer-optin.osx.cocoa.localizability.NonLocalizedStringChecker,
134clang-analyzer-optin.performance.GCDAntipattern,
135clang-analyzer-optin.performance.Padding,
136clang-analyzer-optin.portability.UnixAPI,
137clang-analyzer-osx.API,
138clang-analyzer-osx.MIG,
139clang-analyzer-osx.NSOrCFErrorDerefChecker,
140clang-analyzer-osx.NumberObjectConversion,
141clang-analyzer-osx.OSObjectRetainCount,
142clang-analyzer-osx.ObjCProperty,
143clang-analyzer-osx.SecKeychainAPI,
144clang-analyzer-osx.cocoa.AtSync,
145clang-analyzer-osx.cocoa.AutoreleaseWrite,
146clang-analyzer-osx.cocoa.ClassRelease,
147clang-analyzer-osx.cocoa.Dealloc,
148clang-analyzer-osx.cocoa.IncompatibleMethodTypes,
149clang-analyzer-osx.cocoa.Loops,
150clang-analyzer-osx.cocoa.MissingSuperCall,
151clang-analyzer-osx.cocoa.NSAutoreleasePool,
152clang-analyzer-osx.cocoa.NSError,
153clang-analyzer-osx.cocoa.NilArg,
154clang-analyzer-osx.cocoa.NonNilReturnValue,
155clang-analyzer-osx.cocoa.ObjCGenerics,
156clang-analyzer-osx.cocoa.RetainCount,
157clang-analyzer-osx.cocoa.RetainCountBase,
158clang-analyzer-osx.cocoa.RunLoopAutoreleaseLeak,
159clang-analyzer-osx.cocoa.SelfInit,
160clang-analyzer-osx.cocoa.SuperDealloc,
161clang-analyzer-osx.cocoa.UnusedIvars,
162clang-analyzer-osx.cocoa.VariadicMethodTypes,
163clang-analyzer-osx.coreFoundation.CFError,
164clang-analyzer-osx.coreFoundation.CFNumber,
165clang-analyzer-osx.coreFoundation.CFRetainRelease,
166clang-analyzer-osx.coreFoundation.containers.OutOfBounds,
167clang-analyzer-osx.coreFoundation.containers.PointerSizedValues,
168clang-analyzer-security.FloatLoopCounter,
169clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
170clang-analyzer-security.insecureAPI.SecuritySyntaxChecker,
171clang-analyzer-security.insecureAPI.UncheckedReturn,
172clang-analyzer-security.insecureAPI.bcmp,
173clang-analyzer-security.insecureAPI.bcopy,
174clang-analyzer-security.insecureAPI.bzero,
175clang-analyzer-security.insecureAPI.decodeValueOfObjCType,
176clang-analyzer-security.insecureAPI.getpw,
177clang-analyzer-security.insecureAPI.gets,
178clang-analyzer-security.insecureAPI.mkstemp,
179clang-analyzer-security.insecureAPI.mktemp,
180clang-analyzer-security.insecureAPI.rand,
181clang-analyzer-security.insecureAPI.strcpy,
182clang-analyzer-security.insecureAPI.vfork,
183clang-analyzer-unix.API,
184clang-analyzer-unix.DynamicMemoryModeling,
185clang-analyzer-unix.Malloc,
186clang-analyzer-unix.MallocSizeof,
187clang-analyzer-unix.MismatchedDeallocator,
188clang-analyzer-unix.Vfork,
189clang-analyzer-unix.cstring.BadSizeArg,
190clang-analyzer-unix.cstring.CStringModeling,
191clang-analyzer-unix.cstring.NullArg,
192clang-analyzer-valist.CopyToSelf,
193clang-analyzer-valist.Uninitialized,
194clang-analyzer-valist.Unterminated,
195clang-analyzer-valist.ValistBase,
196clang-analyzer-webkit.NoUncountedMemberChecker,
Pavithra Barithayaa72c97c2024-06-22 04:29:46 -0500197clang-analyzer-webkit.RefCntblBaseVirtualDtor,
198cppcoreguidelines-avoid-goto,
199cppcoreguidelines-avoid-non-const-global-variables,
200cppcoreguidelines-c-copy-assignment-signature,
201cppcoreguidelines-narrowing-conversions,
202cppcoreguidelines-no-malloc,
203cppcoreguidelines-prefer-member-initializer,
204cppcoreguidelines-pro-type-cstyle-cast,
205cppcoreguidelines-pro-type-static-cast-downcast,
206cppcoreguidelines-pro-type-union-access,
Pavithra Barithaya48de55f2024-06-22 05:30:44 -0500207cppcoreguidelines-slicing,
208cppcoreguidelines-special-member-functions'
Pavithra Barithayae9b5fe72024-06-22 00:43:59 -0500209
210WarningsAsErrors: '*'
211HeaderFilterRegex: '.*'