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