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