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