1Checks: ' 2-*, 3bugprone-argument-comment, 4bugprone-assert-side-effect, 5bugprone-assignment-in-if, 6bugprone-bad-signal-to-kill-thread, 7bugprone-bool-pointer-implicit-conversion, 8bugprone-branch-clone, 9bugprone-casting-through-void, 10bugprone-chained-comparison, 11bugprone-compare-pointer-to-member-virtual-function, 12bugprone-copy-constructor-init, 13bugprone-dangling-handle, 14bugprone-dynamic-static-initializers, 15bugprone-empty-catch, 16bugprone-fold-init-type, 17bugprone-forward-declaration-namespace, 18bugprone-forwarding-reference-overload, 19bugprone-implicit-widening-of-multiplication-result, 20bugprone-inaccurate-erase, 21bugprone-inc-dec-in-conditions, 22bugprone-incorrect-enable-if, 23bugprone-incorrect-roundings, 24bugprone-infinite-loop, 25bugprone-integer-division, 26bugprone-lambda-function-name, 27bugprone-macro-parentheses, 28bugprone-macro-repeated-side-effects, 29bugprone-misplaced-operator-in-strlen-in-alloc, 30bugprone-misplaced-pointer-arithmetic-in-alloc, 31bugprone-misplaced-widening-cast, 32bugprone-move-forwarding-reference, 33bugprone-multi-level-implicit-pointer-conversion, 34bugprone-multiple-new-in-one-expression, 35bugprone-multiple-statement-macro, 36bugprone-narrowing-conversions, 37bugprone-no-escape, 38bugprone-non-zero-enum-to-bool-conversion, 39bugprone-not-null-terminated-result, 40bugprone-optional-value-conversion, 41bugprone-parent-virtual-call, 42bugprone-posix-return, 43bugprone-redundant-branch-condition, 44bugprone-reserved-identifier, 45bugprone-shared-ptr-array-mismatch, 46bugprone-signal-handler, 47bugprone-signed-char-misuse, 48bugprone-sizeof-container, 49bugprone-sizeof-expression, 50bugprone-spuriously-wake-up-functions, 51bugprone-standalone-empty, 52bugprone-string-constructor, 53bugprone-string-integer-assignment, 54bugprone-string-literal-with-embedded-nul, 55bugprone-stringview-nullptr, 56bugprone-suspicious-enum-usage, 57bugprone-suspicious-include, 58bugprone-suspicious-memory-comparison, 59bugprone-suspicious-memset-usage, 60bugprone-suspicious-missing-comma, 61bugprone-suspicious-realloc-usage, 62bugprone-suspicious-semicolon, 63bugprone-suspicious-string-compare, 64bugprone-swapped-arguments, 65bugprone-switch-missing-default-case, 66bugprone-terminating-continue, 67bugprone-throw-keyword-missing, 68bugprone-too-small-loop-variable, 69bugprone-unchecked-optional-access, 70bugprone-undefined-memory-manipulation, 71bugprone-undelegated-constructor, 72bugprone-unhandled-exception-at-new, 73bugprone-unhandled-self-assignment, 74bugprone-unique-ptr-array-mismatch, 75bugprone-unsafe-functions, 76bugprone-unused-local-non-trivial-variable, 77bugprone-unused-raii, 78bugprone-unused-return-value, 79bugprone-use-after-move, 80bugprone-virtual-near-miss, 81cert-con36-c, 82cert-con54-cpp, 83cert-dcl03-c, 84cert-dcl16-c, 85cert-dcl21-cpp, 86cert-dcl37-c, 87cert-dcl50-cpp, 88cert-dcl51-cpp, 89cert-dcl54-cpp, 90cert-dcl58-cpp, 91cert-dcl59-cpp, 92cert-env33-c, 93cert-err09-cpp, 94cert-err34-c, 95cert-err52-cpp, 96cert-err60-cpp, 97cert-err61-cpp, 98cert-fio38-c, 99cert-flp30-c, 100cert-mem57-cpp, 101cert-msc30-c, 102cert-msc32-c, 103cert-msc50-cpp, 104cert-msc51-cpp, 105cert-oop11-cpp, 106cert-oop54-cpp, 107cert-oop57-cpp, 108cert-oop58-cpp, 109cert-pos44-c, 110cert-pos47-c, 111cert-sig30-c, 112cert-str34-c, 113clang-analyzer-apiModeling.Errno, 114clang-analyzer-apiModeling.TrustNonnull, 115clang-analyzer-apiModeling.TrustReturnsNonnull, 116clang-analyzer-apiModeling.google.GTest, 117clang-analyzer-apiModeling.llvm.CastValue, 118clang-analyzer-apiModeling.llvm.ReturnValue, 119clang-analyzer-core.BitwiseShift, 120clang-analyzer-core.CallAndMessage, 121clang-analyzer-core.CallAndMessageModeling, 122clang-analyzer-core.DivideZero, 123clang-analyzer-core.DynamicTypePropagation, 124clang-analyzer-core.NonNullParamChecker, 125clang-analyzer-core.NonnilStringConstants, 126clang-analyzer-core.NullDereference, 127clang-analyzer-core.StackAddrEscapeBase, 128clang-analyzer-core.StackAddressEscape, 129clang-analyzer-core.UndefinedBinaryOperatorResult, 130clang-analyzer-core.VLASize, 131clang-analyzer-core.builtin.BuiltinFunctions, 132clang-analyzer-core.builtin.NoReturnFunctions, 133clang-analyzer-core.uninitialized.ArraySubscript, 134clang-analyzer-core.uninitialized.Assign, 135clang-analyzer-core.uninitialized.Branch, 136clang-analyzer-core.uninitialized.CapturedBlockVariable, 137clang-analyzer-core.uninitialized.NewArraySize, 138clang-analyzer-core.uninitialized.UndefReturn, 139clang-analyzer-cplusplus.InnerPointer, 140clang-analyzer-cplusplus.Move, 141clang-analyzer-cplusplus.NewDelete, 142clang-analyzer-cplusplus.NewDeleteLeaks, 143clang-analyzer-cplusplus.PlacementNew, 144clang-analyzer-cplusplus.PureVirtualCall, 145clang-analyzer-cplusplus.SelfAssignment, 146clang-analyzer-cplusplus.SmartPtrModeling, 147clang-analyzer-cplusplus.StringChecker, 148clang-analyzer-cplusplus.VirtualCallModeling, 149clang-analyzer-deadcode.DeadStores, 150clang-analyzer-fuchsia.HandleChecker, 151clang-analyzer-nullability.NullPassedToNonnull, 152clang-analyzer-nullability.NullReturnedFromNonnull, 153clang-analyzer-nullability.NullabilityBase, 154clang-analyzer-nullability.NullableDereferenced, 155clang-analyzer-nullability.NullablePassedToNonnull, 156clang-analyzer-nullability.NullableReturnedFromNonnull, 157clang-analyzer-optin.core.EnumCastOutOfRange, 158clang-analyzer-optin.cplusplus.UninitializedObject, 159clang-analyzer-optin.mpi.MPI-Checker, 160clang-analyzer-optin.osx.OSObjectCStyleCast, 161clang-analyzer-optin.osx.cocoa.localizability.EmptyLocalizationContextChecker, 162clang-analyzer-optin.osx.cocoa.localizability.NonLocalizedStringChecker, 163clang-analyzer-optin.performance.GCDAntipattern, 164clang-analyzer-optin.performance.Padding, 165clang-analyzer-optin.portability.UnixAPI, 166clang-analyzer-osx.API, 167clang-analyzer-osx.MIG, 168clang-analyzer-osx.NSOrCFErrorDerefChecker, 169clang-analyzer-osx.NumberObjectConversion, 170clang-analyzer-osx.OSObjectRetainCount, 171clang-analyzer-osx.ObjCProperty, 172clang-analyzer-osx.SecKeychainAPI, 173clang-analyzer-osx.cocoa.AtSync, 174clang-analyzer-osx.cocoa.AutoreleaseWrite, 175clang-analyzer-osx.cocoa.ClassRelease, 176clang-analyzer-osx.cocoa.Dealloc, 177clang-analyzer-osx.cocoa.IncompatibleMethodTypes, 178clang-analyzer-osx.cocoa.Loops, 179clang-analyzer-osx.cocoa.MissingSuperCall, 180clang-analyzer-osx.cocoa.NSAutoreleasePool, 181clang-analyzer-osx.cocoa.NSError, 182clang-analyzer-osx.cocoa.NilArg, 183clang-analyzer-osx.cocoa.NonNilReturnValue, 184clang-analyzer-osx.cocoa.ObjCGenerics, 185clang-analyzer-osx.cocoa.RetainCount, 186clang-analyzer-osx.cocoa.RetainCountBase, 187clang-analyzer-osx.cocoa.RunLoopAutoreleaseLeak, 188clang-analyzer-osx.cocoa.SelfInit, 189clang-analyzer-osx.cocoa.SuperDealloc, 190clang-analyzer-osx.cocoa.UnusedIvars, 191clang-analyzer-osx.cocoa.VariadicMethodTypes, 192clang-analyzer-osx.coreFoundation.CFError, 193clang-analyzer-osx.coreFoundation.CFNumber, 194clang-analyzer-osx.coreFoundation.CFRetainRelease, 195clang-analyzer-osx.coreFoundation.containers.OutOfBounds, 196clang-analyzer-osx.coreFoundation.containers.PointerSizedValues, 197clang-analyzer-security.FloatLoopCounter, 198clang-analyzer-security.cert.env.InvalidPtr, 199clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling, 200clang-analyzer-security.insecureAPI.SecuritySyntaxChecker, 201clang-analyzer-security.insecureAPI.UncheckedReturn, 202clang-analyzer-security.insecureAPI.bcmp, 203clang-analyzer-security.insecureAPI.bcopy, 204clang-analyzer-security.insecureAPI.bzero, 205clang-analyzer-security.insecureAPI.decodeValueOfObjCType, 206clang-analyzer-security.insecureAPI.getpw, 207clang-analyzer-security.insecureAPI.gets, 208clang-analyzer-security.insecureAPI.mkstemp, 209clang-analyzer-security.insecureAPI.mktemp, 210clang-analyzer-security.insecureAPI.rand, 211clang-analyzer-security.insecureAPI.strcpy, 212clang-analyzer-security.insecureAPI.vfork, 213clang-analyzer-unix.API, 214clang-analyzer-unix.DynamicMemoryModeling, 215clang-analyzer-unix.Errno, 216clang-analyzer-unix.Malloc, 217clang-analyzer-unix.MallocSizeof, 218clang-analyzer-unix.MismatchedDeallocator, 219clang-analyzer-unix.StdCLibraryFunctions, 220clang-analyzer-unix.Vfork, 221clang-analyzer-unix.cstring.BadSizeArg, 222clang-analyzer-unix.cstring.CStringModeling, 223clang-analyzer-unix.cstring.NullArg, 224clang-analyzer-valist.CopyToSelf, 225clang-analyzer-valist.Uninitialized, 226clang-analyzer-valist.Unterminated, 227clang-analyzer-valist.ValistBase, 228clang-analyzer-webkit.NoUncountedMemberChecker, 229clang-analyzer-webkit.RefCntblBaseVirtualDtor, 230clang-analyzer-webkit.UncountedLambdaCapturesChecker, 231cppcoreguidelines-avoid-capturing-lambda-coroutines, 232cppcoreguidelines-avoid-goto, 233cppcoreguidelines-avoid-reference-coroutine-parameters, 234cppcoreguidelines-c-copy-assignment-signature, 235cppcoreguidelines-init-variables, 236cppcoreguidelines-interfaces-global-init, 237cppcoreguidelines-macro-to-enum, 238cppcoreguidelines-macro-usage, 239cppcoreguidelines-misleading-capture-default-by-value, 240cppcoreguidelines-narrowing-conversions, 241cppcoreguidelines-no-malloc, 242cppcoreguidelines-no-suspend-with-lock, 243cppcoreguidelines-noexcept-destructor, 244cppcoreguidelines-noexcept-move-operations, 245cppcoreguidelines-noexcept-swap, 246cppcoreguidelines-prefer-member-initializer, 247cppcoreguidelines-pro-type-const-cast, 248cppcoreguidelines-pro-type-cstyle-cast, 249cppcoreguidelines-pro-type-member-init, 250cppcoreguidelines-pro-type-static-cast-downcast, 251cppcoreguidelines-pro-type-union-access, 252cppcoreguidelines-rvalue-reference-param-not-moved, 253cppcoreguidelines-use-default-member-init, 254cppcoreguidelines-virtual-class-destructor, 255cppcoreguidelines-slicing, 256cppcoreguidelines-special-member-functions, 257google-explicit-constructor, 258misc-coroutine-hostile-raii, 259misc-header-include-cycle, 260misc-misleading-bidirectional, 261misc-misleading-identifier, 262misc-misplaced-const, 263misc-new-delete-overloads, 264misc-non-copyable-objects, 265misc-redundant-expression, 266misc-static-assert, 267misc-throw-by-value-catch-by-reference, 268misc-unconventional-assign-operator, 269misc-uniqueptr-reset-release, 270misc-unused-alias-decls, 271misc-unused-parameters, 272misc-unused-using-decls, 273performance-faster-string-find, 274performance-for-range-copy, 275performance-implicit-conversion-in-loop, 276performance-inefficient-algorithm, 277performance-move-constructor-init, 278performance-no-automatic-move, 279performance-no-int-to-ptr, 280performance-noexcept-destructor, 281performance-noexcept-move-constructor, 282performance-noexcept-swap, 283performance-trivially-destructible, 284performance-type-promotion-in-math-fn, 285performance-unnecessary-copy-initialization, 286readability-avoid-nested-conditional-operator, 287readability-avoid-return-with-void-value, 288readability-avoid-unconditional-preprocessor-if, 289readability-const-return-type, 290readability-container-contains, 291readability-container-size-empty, 292readability-delete-null-pointer, 293readability-duplicate-include, 294readability-deleted-default, 295readability-function-size, 296readability-identifier-naming, 297readability-inconsistent-declaration-parameter-name, 298readability-isolate-declaration, 299readability-misleading-indentation, 300readability-misplaced-array-index, 301readability-named-parameter, 302readability-operators-representation, 303readability-non-const-parameter, 304readability-redundant-access-specifiers, 305readability-redundant-casting, 306readability-redundant-control-flow, 307readability-redundant-declaration, 308readability-redundant-function-ptr-dereference, 309readability-redundant-member-init, 310readability-redundant-preprocessor, 311readability-redundant-smartptr-get, 312readability-redundant-string-cstr, 313readability-redundant-string-init, 314readability-reference-to-constructed-temporary, 315readability-simplify-subscript-expr, 316readability-static-accessed-through-instance, 317readability-static-definition-in-anonymous-namespace, 318readability-string-compare, 319readability-suspicious-call-argument, 320readability-uniqueptr-delete-release, 321readability-identifier-naming' 322 323WarningsAsErrors: '*' 324HeaderFilterRegex: '.*' 325 326CheckOptions: 327 - { key: readability-identifier-naming.ClassCase, value: CamelCase } 328 - { key: readability-identifier-naming.VariableCase, value: camelBack } 329 - { key: readability-identifier-naming.EnumCase, value: CamelCase } 330 - { key: readability-identifier-naming.EnumConstantCase, value: camelBack } 331 - { key: readability-identifier-naming.FunctionCase, value: camelBack } 332 - { key: readability-identifier-naming.ParameterCase, value: camelBack } 333 - { key: readability-identifier-naming.NamespaceCase, value: lower_case } 334 - { key: readability-identifier-naming.StructCase, value: CamelCase } 335