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-misplaced-const, 254#misc-no-recursion, 255misc-redundant-expression, 256misc-static-assert, 257misc-throw-by-value-catch-by-reference, 258misc-unconventional-assign-operator, 259misc-uniqueptr-reset-release, 260misc-unused-using-decls, 261modernize-avoid-bind, 262modernize-deprecated-headers, 263modernize-deprecated-ios-base-aliases, 264modernize-loop-convert, 265modernize-make-shared, 266modernize-make-unique, 267modernize-raw-string-literal, 268modernize-redundant-void-arg, 269modernize-replace-auto-ptr, 270modernize-replace-random-shuffle, 271modernize-return-braced-init-list, 272modernize-shrink-to-fit, 273modernize-unary-static-assert, 274modernize-use-bool-literals, 275modernize-use-default-member-init, 276modernize-use-emplace, 277modernize-use-equals-default, 278modernize-use-equals-delete, 279modernize-use-noexcept, 280modernize-use-nullptr, 281modernize-use-override, 282modernize-use-transparent-functors, 283modernize-use-uncaught-exceptions, 284modernize-use-using, 285performance-faster-string-find, 286performance-for-range-copy, 287performance-implicit-conversion-in-loop, 288performance-inefficient-algorithm, 289performance-inefficient-string-concatenation, 290performance-inefficient-vector-operation, 291performance-move-const-arg, 292performance-move-constructor-init, 293performance-no-automatic-move, 294performance-no-int-to-ptr, 295performance-noexcept-move-constructor, 296performance-trivially-destructible, 297performance-type-promotion-in-math-fn, 298performance-unnecessary-copy-initialization, 299performance-unnecessary-value-param, 300readability-avoid-const-params-in-decls, 301readability-braces-around-statements, 302readability-const-return-type, 303readability-container-contains, 304readability-container-data-pointer, 305readability-container-size-empty, 306readability-convert-member-functions-to-static, 307readability-delete-null-pointer, 308readability-deleted-default, 309readability-else-after-return, 310readability-function-size, 311readability-identifier-naming, 312readability-implicit-bool-conversion, 313readability-inconsistent-declaration-parameter-name, 314readability-isolate-declaration, 315readability-make-member-function-const, 316readability-misleading-indentation, 317readability-misplaced-array-index, 318readability-named-parameter, 319readability-non-const-parameter, 320readability-qualified-auto, 321readability-redundant-access-specifiers, 322readability-redundant-control-flow, 323readability-redundant-declaration, 324readability-redundant-function-ptr-dereference, 325readability-redundant-member-init, 326readability-redundant-preprocessor, 327readability-redundant-smartptr-get, 328readability-redundant-string-cstr, 329readability-redundant-string-init, 330readability-simplify-boolean-expr, 331readability-simplify-subscript-expr, 332readability-static-accessed-through-instance, 333readability-static-definition-in-anonymous-namespace, 334readability-string-compare, 335readability-suspicious-call-argument, 336readability-uniqueptr-delete-release, 337readability-uppercase-literal-suffix' 338 339WarningsAsErrors: '*' 340HeaderFilterRegex: '.*' 341CheckOptions: 342 - { key: readability-identifier-naming.ClassCase, value: CamelCase } 343 - { key: readability-identifier-naming.VariableCase, value: camelBack } 344 - { key: readability-identifier-naming.FunctionCase, value: camelBack } 345 - { key: readability-identifier-naming.ParameterCase, value: camelBack } 346 - { key: readability-identifier-naming.NamespaceCase, value: lower_case } 347 - { key: readability-identifier-naming.StructCase, value: CamelCase } 348 - { key: readability-identifier-naming.FunctionIgnoredRegexp, value: (BMCWEB_LOG_DEBUG|BMCWEB_LOG_INFO|BMCWEB_LOG_WARNING|BMCWEB_LOG_ERROR|BMCWEB_LOG_CRITICAL) } 349 - { key: cppcoreguidelines-macro-usage.AllowedRegexp, value: DEBUG*|NLOHMANN_JSON_SERIALIZE_ENUM } 350 - { key: performance-unnecessary-value-param.AllowedTypes, value: ((segments_view)|(url_view)) } 351