xref: /openbmc/phosphor-led-manager/.clang-tidy (revision 9e3a9d5757410726f103991e99c45dbfbf4ab674)
18f538d9cSGeorge LiuChecks: ' -*,
28f538d9cSGeorge Liubugprone-argument-comment,
38f538d9cSGeorge Liubugprone-assert-side-effect,
48f538d9cSGeorge Liubugprone-bad-signal-to-kill-thread,
58f538d9cSGeorge Liubugprone-bool-pointer-implicit-conversion,
68f538d9cSGeorge Liubugprone-branch-clone,
78f538d9cSGeorge Liubugprone-copy-constructor-init,
88f538d9cSGeorge Liubugprone-dangling-handle,
98f538d9cSGeorge Liubugprone-dynamic-static-initializers,
108f538d9cSGeorge Liubugprone-fold-init-type,
118f538d9cSGeorge Liubugprone-forward-declaration-namespace,
128f538d9cSGeorge Liubugprone-forwarding-reference-overload,
138f538d9cSGeorge Liubugprone-implicit-widening-of-multiplication-result,
148f538d9cSGeorge Liubugprone-inaccurate-erase,
158f538d9cSGeorge Liubugprone-incorrect-roundings,
168f538d9cSGeorge Liubugprone-infinite-loop,
178f538d9cSGeorge Liubugprone-integer-division,
188f538d9cSGeorge Liubugprone-lambda-function-name,
198f538d9cSGeorge Liubugprone-macro-parentheses,
208f538d9cSGeorge Liubugprone-macro-repeated-side-effects,
218f538d9cSGeorge Liubugprone-misplaced-operator-in-strlen-in-alloc,
228f538d9cSGeorge Liubugprone-misplaced-pointer-arithmetic-in-alloc,
238f538d9cSGeorge Liubugprone-misplaced-widening-cast,
248f538d9cSGeorge Liubugprone-move-forwarding-reference,
258f538d9cSGeorge Liubugprone-multiple-statement-macro,
268f538d9cSGeorge Liubugprone-narrowing-conversions,
278f538d9cSGeorge Liubugprone-no-escape,
288f538d9cSGeorge Liubugprone-not-null-terminated-result,
298f538d9cSGeorge Liubugprone-parent-virtual-call,
308f538d9cSGeorge Liubugprone-posix-return,
318f538d9cSGeorge Liubugprone-redundant-branch-condition,
328f538d9cSGeorge Liubugprone-reserved-identifier,
338f538d9cSGeorge Liubugprone-signal-handler,
348f538d9cSGeorge Liubugprone-signed-char-misuse,
358f538d9cSGeorge Liubugprone-sizeof-container,
368f538d9cSGeorge Liubugprone-sizeof-expression,
378f538d9cSGeorge Liubugprone-spuriously-wake-up-functions,
388f538d9cSGeorge Liubugprone-string-constructor,
398f538d9cSGeorge Liubugprone-string-integer-assignment,
408f538d9cSGeorge Liubugprone-string-literal-with-embedded-nul,
418f538d9cSGeorge Liubugprone-suspicious-enum-usage,
428f538d9cSGeorge Liubugprone-suspicious-include,
438f538d9cSGeorge Liubugprone-suspicious-memset-usage,
448f538d9cSGeorge Liubugprone-suspicious-missing-comma,
458f538d9cSGeorge Liubugprone-suspicious-semicolon,
468f538d9cSGeorge Liubugprone-suspicious-string-compare,
478f538d9cSGeorge Liubugprone-swapped-arguments,
488f538d9cSGeorge Liubugprone-terminating-continue,
498f538d9cSGeorge Liubugprone-throw-keyword-missing,
508f538d9cSGeorge Liubugprone-too-small-loop-variable,
518f538d9cSGeorge Liubugprone-undefined-memory-manipulation,
528f538d9cSGeorge Liubugprone-undelegated-constructor,
538f538d9cSGeorge Liubugprone-unhandled-exception-at-new,
548f538d9cSGeorge Liubugprone-unhandled-self-assignment,
558f538d9cSGeorge Liubugprone-unused-raii,
568f538d9cSGeorge Liubugprone-unused-return-value,
578f538d9cSGeorge Liubugprone-use-after-move,
58173dc323SGeorge Liubugprone-virtual-near-miss,
59173dc323SGeorge Liucert-con36-c,
60173dc323SGeorge Liucert-con54-cpp,
61173dc323SGeorge Liucert-dcl03-c,
62173dc323SGeorge Liucert-dcl16-c,
63173dc323SGeorge Liucert-dcl21-cpp,
64173dc323SGeorge Liucert-dcl37-c,
65173dc323SGeorge Liucert-dcl50-cpp,
66173dc323SGeorge Liucert-dcl51-cpp,
67173dc323SGeorge Liucert-dcl54-cpp,
68173dc323SGeorge Liucert-dcl58-cpp,
69173dc323SGeorge Liucert-dcl59-cpp,
70173dc323SGeorge Liucert-env33-c,
71173dc323SGeorge Liucert-err09-cpp,
72173dc323SGeorge Liucert-err34-c,
73173dc323SGeorge Liucert-err52-cpp,
74173dc323SGeorge Liucert-err60-cpp,
75173dc323SGeorge Liucert-err61-cpp,
76173dc323SGeorge Liucert-fio38-c,
77173dc323SGeorge Liucert-flp30-c,
78173dc323SGeorge Liucert-mem57-cpp,
79173dc323SGeorge Liucert-msc30-c,
80173dc323SGeorge Liucert-msc32-c,
81173dc323SGeorge Liucert-msc50-cpp,
82173dc323SGeorge Liucert-msc51-cpp,
83173dc323SGeorge Liucert-oop11-cpp,
84173dc323SGeorge Liucert-oop54-cpp,
85173dc323SGeorge Liucert-oop57-cpp,
86173dc323SGeorge Liucert-oop58-cpp,
87173dc323SGeorge Liucert-pos44-c,
88173dc323SGeorge Liucert-pos47-c,
89173dc323SGeorge Liucert-sig30-c,
90*9e3a9d57SGeorge Liucert-str34-c,
91*9e3a9d57SGeorge Liuclang-analyzer-apiModeling.StdCLibraryFunctions,
92*9e3a9d57SGeorge Liuclang-analyzer-apiModeling.TrustNonnull,
93*9e3a9d57SGeorge Liuclang-analyzer-apiModeling.google.GTest,
94*9e3a9d57SGeorge Liuclang-analyzer-apiModeling.llvm.CastValue,
95*9e3a9d57SGeorge Liuclang-analyzer-apiModeling.llvm.ReturnValue,
96*9e3a9d57SGeorge Liuclang-analyzer-core.CallAndMessage,
97*9e3a9d57SGeorge Liuclang-analyzer-core.CallAndMessageModeling,
98*9e3a9d57SGeorge Liuclang-analyzer-core.DivideZero,
99*9e3a9d57SGeorge Liuclang-analyzer-core.DynamicTypePropagation,
100*9e3a9d57SGeorge Liuclang-analyzer-core.NonNullParamChecker,
101*9e3a9d57SGeorge Liuclang-analyzer-core.NonnilStringConstants,
102*9e3a9d57SGeorge Liuclang-analyzer-core.NullDereference,
103*9e3a9d57SGeorge Liuclang-analyzer-core.StackAddrEscapeBase,
104*9e3a9d57SGeorge Liuclang-analyzer-core.StackAddressEscape,
105*9e3a9d57SGeorge Liuclang-analyzer-core.UndefinedBinaryOperatorResult,
106*9e3a9d57SGeorge Liuclang-analyzer-core.VLASize,
107*9e3a9d57SGeorge Liuclang-analyzer-core.builtin.BuiltinFunctions,
108*9e3a9d57SGeorge Liuclang-analyzer-core.builtin.NoReturnFunctions,
109*9e3a9d57SGeorge Liuclang-analyzer-core.uninitialized.ArraySubscript,
110*9e3a9d57SGeorge Liuclang-analyzer-core.uninitialized.Assign,
111*9e3a9d57SGeorge Liuclang-analyzer-core.uninitialized.Branch,
112*9e3a9d57SGeorge Liuclang-analyzer-core.uninitialized.CapturedBlockVariable,
113*9e3a9d57SGeorge Liuclang-analyzer-core.uninitialized.UndefReturn,
114*9e3a9d57SGeorge Liuclang-analyzer-cplusplus.InnerPointer,
115*9e3a9d57SGeorge Liuclang-analyzer-cplusplus.Move,
116*9e3a9d57SGeorge Liuclang-analyzer-cplusplus.NewDelete,
117*9e3a9d57SGeorge Liuclang-analyzer-cplusplus.NewDeleteLeaks,
118*9e3a9d57SGeorge Liuclang-analyzer-cplusplus.PlacementNew,
119*9e3a9d57SGeorge Liuclang-analyzer-cplusplus.PureVirtualCall,
120*9e3a9d57SGeorge Liuclang-analyzer-cplusplus.SelfAssignment,
121*9e3a9d57SGeorge Liuclang-analyzer-cplusplus.SmartPtrModeling,
122*9e3a9d57SGeorge Liuclang-analyzer-cplusplus.VirtualCallModeling,
123*9e3a9d57SGeorge Liuclang-analyzer-deadcode.DeadStores,
124*9e3a9d57SGeorge Liuclang-analyzer-fuchsia.HandleChecker,
125*9e3a9d57SGeorge Liuclang-analyzer-nullability.NullPassedToNonnull,
126*9e3a9d57SGeorge Liuclang-analyzer-nullability.NullReturnedFromNonnull,
127*9e3a9d57SGeorge Liuclang-analyzer-nullability.NullabilityBase,
128*9e3a9d57SGeorge Liuclang-analyzer-nullability.NullableDereferenced,
129*9e3a9d57SGeorge Liuclang-analyzer-nullability.NullablePassedToNonnull,
130*9e3a9d57SGeorge Liuclang-analyzer-nullability.NullableReturnedFromNonnull,
131*9e3a9d57SGeorge Liuclang-analyzer-optin.cplusplus.UninitializedObject,
132*9e3a9d57SGeorge Liuclang-analyzer-optin.mpi.MPI-Checker,
133*9e3a9d57SGeorge Liuclang-analyzer-optin.osx.OSObjectCStyleCast,
134*9e3a9d57SGeorge Liuclang-analyzer-optin.osx.cocoa.localizability.EmptyLocalizationContextChecker,
135*9e3a9d57SGeorge Liuclang-analyzer-optin.osx.cocoa.localizability.NonLocalizedStringChecker,
136*9e3a9d57SGeorge Liuclang-analyzer-optin.performance.GCDAntipattern,
137*9e3a9d57SGeorge Liuclang-analyzer-optin.performance.Padding,
138*9e3a9d57SGeorge Liuclang-analyzer-optin.portability.UnixAPI,
139*9e3a9d57SGeorge Liuclang-analyzer-osx.API,
140*9e3a9d57SGeorge Liuclang-analyzer-osx.MIG,
141*9e3a9d57SGeorge Liuclang-analyzer-osx.NSOrCFErrorDerefChecker,
142*9e3a9d57SGeorge Liuclang-analyzer-osx.NumberObjectConversion,
143*9e3a9d57SGeorge Liuclang-analyzer-osx.OSObjectRetainCount,
144*9e3a9d57SGeorge Liuclang-analyzer-osx.ObjCProperty,
145*9e3a9d57SGeorge Liuclang-analyzer-osx.SecKeychainAPI,
146*9e3a9d57SGeorge Liuclang-analyzer-osx.cocoa.AtSync,
147*9e3a9d57SGeorge Liuclang-analyzer-osx.cocoa.AutoreleaseWrite,
148*9e3a9d57SGeorge Liuclang-analyzer-osx.cocoa.ClassRelease,
149*9e3a9d57SGeorge Liuclang-analyzer-osx.cocoa.Dealloc,
150*9e3a9d57SGeorge Liuclang-analyzer-osx.cocoa.IncompatibleMethodTypes,
151*9e3a9d57SGeorge Liuclang-analyzer-osx.cocoa.Loops,
152*9e3a9d57SGeorge Liuclang-analyzer-osx.cocoa.MissingSuperCall,
153*9e3a9d57SGeorge Liuclang-analyzer-osx.cocoa.NSAutoreleasePool,
154*9e3a9d57SGeorge Liuclang-analyzer-osx.cocoa.NSError,
155*9e3a9d57SGeorge Liuclang-analyzer-osx.cocoa.NilArg,
156*9e3a9d57SGeorge Liuclang-analyzer-osx.cocoa.NonNilReturnValue,
157*9e3a9d57SGeorge Liuclang-analyzer-osx.cocoa.ObjCGenerics,
158*9e3a9d57SGeorge Liuclang-analyzer-osx.cocoa.RetainCount,
159*9e3a9d57SGeorge Liuclang-analyzer-osx.cocoa.RetainCountBase,
160*9e3a9d57SGeorge Liuclang-analyzer-osx.cocoa.RunLoopAutoreleaseLeak,
161*9e3a9d57SGeorge Liuclang-analyzer-osx.cocoa.SelfInit,
162*9e3a9d57SGeorge Liuclang-analyzer-osx.cocoa.SuperDealloc,
163*9e3a9d57SGeorge Liuclang-analyzer-osx.cocoa.UnusedIvars,
164*9e3a9d57SGeorge Liuclang-analyzer-osx.cocoa.VariadicMethodTypes,
165*9e3a9d57SGeorge Liuclang-analyzer-osx.coreFoundation.CFError,
166*9e3a9d57SGeorge Liuclang-analyzer-osx.coreFoundation.CFNumber,
167*9e3a9d57SGeorge Liuclang-analyzer-osx.coreFoundation.CFRetainRelease,
168*9e3a9d57SGeorge Liuclang-analyzer-osx.coreFoundation.containers.OutOfBounds,
169*9e3a9d57SGeorge Liuclang-analyzer-osx.coreFoundation.containers.PointerSizedValues,
170*9e3a9d57SGeorge Liuclang-analyzer-security.FloatLoopCounter,
171*9e3a9d57SGeorge Liuclang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
172*9e3a9d57SGeorge Liuclang-analyzer-security.insecureAPI.SecuritySyntaxChecker,
173*9e3a9d57SGeorge Liuclang-analyzer-security.insecureAPI.UncheckedReturn,
174*9e3a9d57SGeorge Liuclang-analyzer-security.insecureAPI.bcmp,
175*9e3a9d57SGeorge Liuclang-analyzer-security.insecureAPI.bcopy,
176*9e3a9d57SGeorge Liuclang-analyzer-security.insecureAPI.bzero,
177*9e3a9d57SGeorge Liuclang-analyzer-security.insecureAPI.decodeValueOfObjCType,
178*9e3a9d57SGeorge Liuclang-analyzer-security.insecureAPI.getpw,
179*9e3a9d57SGeorge Liuclang-analyzer-security.insecureAPI.gets,
180*9e3a9d57SGeorge Liuclang-analyzer-security.insecureAPI.mkstemp,
181*9e3a9d57SGeorge Liuclang-analyzer-security.insecureAPI.mktemp,
182*9e3a9d57SGeorge Liuclang-analyzer-security.insecureAPI.rand,
183*9e3a9d57SGeorge Liuclang-analyzer-security.insecureAPI.strcpy,
184*9e3a9d57SGeorge Liuclang-analyzer-security.insecureAPI.vfork,
185*9e3a9d57SGeorge Liuclang-analyzer-unix.API,
186*9e3a9d57SGeorge Liuclang-analyzer-unix.DynamicMemoryModeling,
187*9e3a9d57SGeorge Liuclang-analyzer-unix.Malloc,
188*9e3a9d57SGeorge Liuclang-analyzer-unix.MallocSizeof,
189*9e3a9d57SGeorge Liuclang-analyzer-unix.MismatchedDeallocator,
190*9e3a9d57SGeorge Liuclang-analyzer-unix.Vfork,
191*9e3a9d57SGeorge Liuclang-analyzer-unix.cstring.BadSizeArg,
192*9e3a9d57SGeorge Liuclang-analyzer-unix.cstring.CStringModeling,
193*9e3a9d57SGeorge Liuclang-analyzer-unix.cstring.NullArg,
194*9e3a9d57SGeorge Liuclang-analyzer-valist.CopyToSelf,
195*9e3a9d57SGeorge Liuclang-analyzer-valist.Uninitialized,
196*9e3a9d57SGeorge Liuclang-analyzer-valist.Unterminated,
197*9e3a9d57SGeorge Liuclang-analyzer-valist.ValistBase,
198*9e3a9d57SGeorge Liuclang-analyzer-webkit.NoUncountedMemberChecker,
199*9e3a9d57SGeorge Liuclang-analyzer-webkit.RefCntblBaseVirtualDtor'
2008f538d9cSGeorge Liu
2018f538d9cSGeorge LiuWarningsAsErrors: '*'
2028f538d9cSGeorge LiuHeaderFilterRegex: '.*.hpp'
203