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