blob: 166b63d1083082a36c0425a275ce1bdb7cdc5973 [file] [log] [blame]
Pavithra Barithaya1170a542024-07-31 14:23:49 +05301Checks: ' -*,
2bugprone-argument-comment,
3bugprone-assert-side-effect,
4bugprone-bad-signal-to-kill-thread,
5bugprone-bool-pointer-implicit-conversion,
Pavithra Barithayaca041a82024-08-29 10:11:54 +05306bugprone-branch-clone,
Pavithra Barithaya1170a542024-07-31 14:23:49 +05307bugprone-copy-constructor-init,
8bugprone-dangling-handle,
9bugprone-dynamic-static-initializers,
10bugprone-fold-init-type,
11bugprone-forward-declaration-namespace,
12bugprone-forwarding-reference-overload,
13bugprone-inaccurate-erase,
14bugprone-incorrect-roundings,
15bugprone-infinite-loop,
16bugprone-integer-division,
17bugprone-lambda-function-name,
18bugprone-macro-parentheses,
19bugprone-macro-repeated-side-effects,
20bugprone-misplaced-operator-in-strlen-in-alloc,
21bugprone-misplaced-pointer-arithmetic-in-alloc,
22bugprone-misplaced-widening-cast,
23bugprone-move-forwarding-reference,
24bugprone-multiple-statement-macro,
25bugprone-no-escape,
26bugprone-not-null-terminated-result,
27bugprone-parent-virtual-call,
28bugprone-posix-return,
29bugprone-redundant-branch-condition,
30bugprone-signal-handler,
31bugprone-signed-char-misuse,
32bugprone-sizeof-container,
33bugprone-sizeof-expression,
34bugprone-spuriously-wake-up-functions,
35bugprone-string-integer-assignment,
Pavithra Barithaya5d86cdf2024-08-20 15:08:46 +053036bugprone-string-literal-with-embedded-nul,
Pavithra Barithaya1170a542024-07-31 14:23:49 +053037bugprone-suspicious-enum-usage,
38bugprone-suspicious-include,
39bugprone-suspicious-memset-usage,
40bugprone-suspicious-missing-comma,
41bugprone-suspicious-semicolon,
42bugprone-suspicious-string-compare,
43bugprone-swapped-arguments,
44bugprone-terminating-continue,
45bugprone-throw-keyword-missing,
Pavithra Barithaya03b02d52023-07-11 10:08:26 -050046bugprone-too-small-loop-variable,
Pavithra Barithaya1170a542024-07-31 14:23:49 +053047bugprone-undefined-memory-manipulation,
48bugprone-undelegated-constructor,
49bugprone-unhandled-exception-at-new,
50bugprone-unhandled-self-assignment,
51bugprone-unused-raii,
52bugprone-unused-return-value,
Pavithra Barithaya9948a7d2024-08-20 18:10:12 +053053bugprone-virtual-near-miss,
54cert-con54-cpp,
55cert-dcl21-cpp,
56cert-dcl50-cpp,
57cert-dcl54-cpp,
58cert-dcl58-cpp,
59cert-dcl59-cpp,
60cert-err09-cpp,
61cert-err52-cpp,
62cert-err60-cpp,
63cert-err61-cpp,
64cert-mem57-cpp,
65cert-msc50-cpp,
66cert-msc51-cpp,
67cert-oop11-cpp,
68cert-oop54-cpp,
69cert-oop57-cpp,
Pavithra Barithayaea438db2024-08-20 20:53:12 +053070cert-oop58-cpp,
71clang-analyzer-apiModeling.StdCLibraryFunctions,
72clang-analyzer-apiModeling.TrustNonnull,
73clang-analyzer-apiModeling.google.GTest,
74clang-analyzer-apiModeling.llvm.CastValue,
75clang-analyzer-apiModeling.llvm.ReturnValue,
76clang-analyzer-core.CallAndMessage,
77clang-analyzer-core.CallAndMessageModeling,
78clang-analyzer-core.DivideZero,
79clang-analyzer-core.DynamicTypePropagation,
80clang-analyzer-core.NonNullParamChecker,
81clang-analyzer-core.NonnilStringConstants,
82clang-analyzer-core.NullDereference,
83clang-analyzer-core.StackAddrEscapeBase,
84clang-analyzer-core.StackAddressEscape,
85clang-analyzer-core.UndefinedBinaryOperatorResult,
86clang-analyzer-core.VLASize,
87clang-analyzer-core.builtin.BuiltinFunctions,
88clang-analyzer-core.builtin.NoReturnFunctions,
89clang-analyzer-core.uninitialized.ArraySubscript,
90clang-analyzer-core.uninitialized.Assign,
91clang-analyzer-core.uninitialized.CapturedBlockVariable,
92clang-analyzer-core.uninitialized.UndefReturn,
93clang-analyzer-cplusplus.InnerPointer,
94clang-analyzer-cplusplus.Move,
95clang-analyzer-cplusplus.NewDelete,
96clang-analyzer-cplusplus.NewDeleteLeaks,
97clang-analyzer-cplusplus.PlacementNew,
98clang-analyzer-cplusplus.PureVirtualCall,
99clang-analyzer-cplusplus.SelfAssignment,
100clang-analyzer-cplusplus.SmartPtrModeling,
101clang-analyzer-cplusplus.VirtualCallModeling,
102clang-analyzer-fuchsia.HandleChecker,
103clang-analyzer-nullability.NullPassedToNonnull,
104clang-analyzer-nullability.NullReturnedFromNonnull,
105clang-analyzer-nullability.NullabilityBase,
106clang-analyzer-nullability.NullableDereferenced,
107clang-analyzer-nullability.NullablePassedToNonnull,
108clang-analyzer-nullability.NullableReturnedFromNonnull,
109clang-analyzer-optin.cplusplus.UninitializedObject,
110clang-analyzer-optin.mpi.MPI-Checker,
111clang-analyzer-optin.performance.GCDAntipattern,
112clang-analyzer-optin.performance.Padding,
113clang-analyzer-optin.portability.UnixAPI,
114clang-analyzer-security.FloatLoopCounter,
115clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
116clang-analyzer-security.insecureAPI.SecuritySyntaxChecker,
117clang-analyzer-security.insecureAPI.UncheckedReturn,
118clang-analyzer-security.insecureAPI.bcmp,
119clang-analyzer-security.insecureAPI.bcopy,
120clang-analyzer-security.insecureAPI.bzero,
121clang-analyzer-security.insecureAPI.decodeValueOfObjCType,
122clang-analyzer-security.insecureAPI.getpw,
123clang-analyzer-security.insecureAPI.gets,
124clang-analyzer-security.insecureAPI.mkstemp,
125clang-analyzer-security.insecureAPI.mktemp,
126clang-analyzer-security.insecureAPI.rand,
127clang-analyzer-security.insecureAPI.strcpy,
128clang-analyzer-security.insecureAPI.vfork,
129clang-analyzer-unix.API,
130clang-analyzer-unix.DynamicMemoryModeling,
131clang-analyzer-unix.Malloc,
132clang-analyzer-unix.MallocSizeof,
133clang-analyzer-unix.MismatchedDeallocator,
134clang-analyzer-unix.Vfork,
135clang-analyzer-unix.cstring.BadSizeArg,
136clang-analyzer-unix.cstring.CStringModeling,
137clang-analyzer-unix.cstring.NullArg,
138clang-analyzer-valist.CopyToSelf,
139clang-analyzer-valist.Uninitialized,
140clang-analyzer-valist.Unterminated,
141clang-analyzer-valist.ValistBase,
142clang-analyzer-webkit.NoUncountedMemberChecker,
Pavithra Barithayaf6f6cda2024-08-20 21:07:49 +0530143clang-analyzer-webkit.RefCntblBaseVirtualDtor,
144misc-misplaced-const,
145misc-redundant-expression,
146misc-static-assert,
147misc-throw-by-value-catch-by-reference,
148misc-unconventional-assign-operator,
149misc-uniqueptr-reset-release,
150modernize-deprecated-ios-base-aliases,
151modernize-make-shared,
152modernize-make-unique,
153modernize-replace-auto-ptr,
154modernize-replace-random-shuffle,
155modernize-shrink-to-fit,
156modernize-unary-static-assert,
157modernize-use-equals-delete,
158modernize-use-noexcept,
159modernize-use-transparent-functors,
160modernize-use-uncaught-exceptions'
Pavithra Barithaya1170a542024-07-31 14:23:49 +0530161
162WarningsAsErrors: '*'
163HeaderFilterRegex: '.*'