1Checks: ' 2-*, 3bugprone-argument-comment, 4bugprone-assert-side-effect, 5bugprone-bad-signal-to-kill-thread, 6bugprone-bool-pointer-implicit-conversion, 7bugprone-branch-clone, 8bugprone-dangling-handle, 9bugprone-dynamic-static-initializers, 10bugprone-fold-init-type, 11bugprone-implicit-widening-of-multiplication-result, 12bugprone-inaccurate-erase, 13bugprone-incorrect-roundings, 14bugprone-infinite-loop, 15bugprone-integer-division, 16bugprone-macro-parentheses, 17bugprone-macro-repeated-side-effects, 18bugprone-misplaced-operator-in-strlen-in-alloc, 19bugprone-misplaced-pointer-arithmetic-in-alloc, 20bugprone-misplaced-widening-cast, 21bugprone-multiple-statement-macro, 22bugprone-narrowing-conversions, 23bugprone-no-escape, 24bugprone-not-null-terminated-result, 25bugprone-posix-return, 26bugprone-redundant-branch-condition, 27bugprone-reserved-identifier, 28bugprone-signal-handler, 29bugprone-signed-char-misuse, 30bugprone-sizeof-container, 31bugprone-sizeof-expression, 32bugprone-spuriously-wake-up-functions, 33bugprone-string-constructor, 34bugprone-string-integer-assignment, 35bugprone-string-literal-with-embedded-nul, 36bugprone-suspicious-enum-usage, 37bugprone-suspicious-include, 38bugprone-suspicious-memset-usage, 39bugprone-suspicious-missing-comma, 40bugprone-suspicious-semicolon, 41bugprone-suspicious-string-compare, 42bugprone-swapped-arguments, 43bugprone-terminating-continue, 44bugprone-too-small-loop-variable, 45bugprone-undefined-memory-manipulation, 46bugprone-unhandled-self-assignment, 47bugprone-unused-return-value, 48cert-con36-c, 49cert-con54-cpp, 50cert-dcl03-c, 51cert-dcl16-c, 52cert-dcl21-cpp, 53cert-dcl37-c, 54cert-dcl50-cpp, 55cert-dcl51-cpp, 56cert-dcl54-cpp, 57cert-dcl58-cpp, 58cert-dcl59-cpp, 59cert-env33-c, 60cert-err09-cpp, 61cert-err34-c, 62cert-err52-cpp, 63cert-err60-cpp, 64cert-err61-cpp, 65cert-fio38-c, 66cert-flp30-c, 67cert-mem57-cpp, 68cert-msc30-c, 69cert-msc32-c, 70cert-msc50-cpp, 71cert-msc51-cpp, 72cert-oop11-cpp, 73cert-oop54-cpp, 74cert-oop57-cpp, 75cert-oop58-cpp, 76cert-pos44-c, 77cert-pos47-c, 78cert-sig30-c, 79cert-str34-c, 80clang-analyzer-apiModeling.TrustNonnull, 81clang-analyzer-apiModeling.google.GTest, 82clang-analyzer-apiModeling.llvm.CastValue, 83clang-analyzer-apiModeling.llvm.ReturnValue, 84clang-analyzer-core.CallAndMessage, 85clang-analyzer-core.CallAndMessageModeling, 86clang-analyzer-core.DivideZero, 87clang-analyzer-core.DynamicTypePropagation, 88clang-analyzer-core.NonNullParamChecker, 89clang-analyzer-core.NonnilStringConstants, 90clang-analyzer-core.NullDereference, 91clang-analyzer-core.StackAddrEscapeBase, 92clang-analyzer-core.StackAddressEscape, 93clang-analyzer-core.UndefinedBinaryOperatorResult, 94clang-analyzer-core.VLASize, 95clang-analyzer-core.builtin.BuiltinFunctions, 96clang-analyzer-core.builtin.NoReturnFunctions, 97clang-analyzer-core.uninitialized.ArraySubscript, 98clang-analyzer-core.uninitialized.Assign, 99clang-analyzer-core.uninitialized.Branch, 100clang-analyzer-core.uninitialized.CapturedBlockVariable, 101clang-analyzer-core.uninitialized.UndefReturn, 102clang-analyzer-deadcode.DeadStores, 103clang-analyzer-nullability.NullPassedToNonnull, 104clang-analyzer-nullability.NullReturnedFromNonnull, 105clang-analyzer-nullability.NullabilityBase, 106clang-analyzer-nullability.NullableDereferenced, 107clang-analyzer-nullability.NullablePassedToNonnull, 108clang-analyzer-nullability.NullableReturnedFromNonnull, 109clang-analyzer-optin.mpi.MPI-Checker, 110clang-analyzer-optin.performance.GCDAntipattern, 111clang-analyzer-optin.performance.Padding, 112clang-analyzer-optin.portability.UnixAPI, 113clang-analyzer-security.FloatLoopCounter, 114clang-analyzer-security.insecureAPI.SecuritySyntaxChecker, 115clang-analyzer-security.insecureAPI.UncheckedReturn, 116clang-analyzer-security.insecureAPI.bcmp, 117clang-analyzer-security.insecureAPI.bcopy, 118clang-analyzer-security.insecureAPI.bzero, 119clang-analyzer-security.insecureAPI.decodeValueOfObjCType, 120clang-analyzer-security.insecureAPI.getpw, 121clang-analyzer-security.insecureAPI.gets, 122clang-analyzer-security.insecureAPI.mkstemp, 123clang-analyzer-security.insecureAPI.mktemp, 124clang-analyzer-security.insecureAPI.rand, 125clang-analyzer-security.insecureAPI.strcpy, 126clang-analyzer-security.insecureAPI.vfork, 127clang-analyzer-unix.API, 128clang-analyzer-unix.DynamicMemoryModeling, 129clang-analyzer-unix.Malloc, 130clang-analyzer-unix.MallocSizeof, 131clang-analyzer-unix.MismatchedDeallocator, 132clang-analyzer-unix.Vfork, 133clang-analyzer-unix.cstring.BadSizeArg, 134clang-analyzer-unix.cstring.CStringModeling, 135clang-analyzer-unix.cstring.NullArg, 136clang-analyzer-valist.CopyToSelf, 137clang-analyzer-valist.Uninitialized, 138clang-analyzer-valist.Unterminated, 139clang-analyzer-valist.ValistBase, 140clang-analyzer-webkit.NoUncountedMemberChecker, 141clang-analyzer-webkit.RefCntblBaseVirtualDtor, 142cppcoreguidelines-pro-type-reinterpret-cast, 143misc-misplaced-const, 144misc-redundant-expression, 145misc-static-assert, 146misc-throw-by-value-catch-by-reference, 147misc-unconventional-assign-operator, 148misc-uniqueptr-reset-release, 149misc-unused-using-decls, 150modernize-avoid-bind, 151modernize-deprecated-headers, 152modernize-deprecated-ios-base-aliases, 153modernize-loop-convert, 154modernize-make-shared, 155modernize-make-unique, 156modernize-raw-string-literal, 157modernize-replace-auto-ptr, 158modernize-replace-random-shuffle, 159modernize-return-braced-init-list, 160modernize-shrink-to-fit, 161modernize-unary-static-assert, 162modernize-use-bool-literals, 163modernize-use-transparent-functors, 164modernize-use-uncaught-exceptions, 165performance-faster-string-find, 166performance-for-range-copy, 167performance-implicit-conversion-in-loop, 168performance-inefficient-algorithm, 169performance-inefficient-string-concatenation, 170performance-inefficient-vector-operation, 171performance-no-int-to-ptr, 172performance-type-promotion-in-math-fn, 173performance-unnecessary-copy-initialization, 174performance-unnecessary-value-param, 175readability-avoid-const-params-in-decls, 176readability-braces-around-statements, 177readability-const-return-type, 178readability-container-size-empty, 179readability-convert-member-functions-to-static, 180readability-delete-null-pointer, 181readability-deleted-default, 182readability-else-after-return, 183readability-function-size, 184-readability-identifier-naming, 185readability-inconsistent-declaration-parameter-name, 186readability-isolate-declaration, 187readability-make-member-function-const, 188readability-misleading-indentation, 189readability-misplaced-array-index, 190readability-named-parameter, 191readability-non-const-parameter, 192-readability-qualified-auto, 193readability-redundant-access-specifiers, 194readability-redundant-control-flow, 195readability-redundant-declaration, 196readability-redundant-function-ptr-dereference, 197readability-redundant-member-init, 198readability-redundant-preprocessor, 199readability-redundant-smartptr-get, 200readability-redundant-string-cstr, 201readability-redundant-string-init, 202readability-simplify-boolean-expr, 203readability-simplify-subscript-expr, 204readability-static-accessed-through-instance, 205readability-static-definition-in-anonymous-namespace, 206readability-string-compare, 207readability-suspicious-call-argument, 208' 209 210WarningsAsErrors: '*' 211HeaderFilterRegex: '(libpldm)|(src)/' 212CheckOptions: 213 - { key: readability-identifier-naming.VariableCase, value: lower_case } 214 - { key: readability-identifier-naming.FunctionCase, value: lower_case } 215 - { key: readability-identifier-naming.ParameterCase, value: lower_case } 216 - { key: readability-identifier-naming.NamespaceCase, value: lower_case } 217 - { key: readability-identifier-naming.StructCase, value: lower_case } 218 - { key: cppcoreguidelines-macro-usage.AllowedRegexp, value: DEBUG*|NLOHMANN_JSON_SERIALIZE_ENUM } 219