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