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