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