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