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