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, |
Ed Tanous | 82897c3 | 2022-02-21 14:11:59 -0800 | [diff] [blame] | 99 | clang-analyzer-core.CallAndMessageModeling, |
| 100 | clang-analyzer-core.DivideZero, |
| 101 | clang-analyzer-core.DynamicTypePropagation, |
| 102 | clang-analyzer-core.NonNullParamChecker, |
| 103 | clang-analyzer-core.NonnilStringConstants, |
| 104 | clang-analyzer-core.NullDereference, |
| 105 | clang-analyzer-core.StackAddrEscapeBase, |
| 106 | clang-analyzer-core.StackAddressEscape, |
| 107 | clang-analyzer-core.UndefinedBinaryOperatorResult, |
| 108 | clang-analyzer-core.VLASize, |
| 109 | clang-analyzer-core.builtin.BuiltinFunctions, |
| 110 | clang-analyzer-core.builtin.NoReturnFunctions, |
| 111 | clang-analyzer-core.uninitialized.ArraySubscript, |
| 112 | clang-analyzer-core.uninitialized.Assign, |
| 113 | clang-analyzer-core.uninitialized.Branch, |
| 114 | clang-analyzer-core.uninitialized.CapturedBlockVariable, |
| 115 | clang-analyzer-core.uninitialized.UndefReturn, |
| 116 | clang-analyzer-cplusplus.InnerPointer, |
| 117 | clang-analyzer-cplusplus.Move, |
| 118 | clang-analyzer-cplusplus.NewDelete, |
| 119 | clang-analyzer-cplusplus.NewDeleteLeaks, |
| 120 | clang-analyzer-cplusplus.PlacementNew, |
| 121 | clang-analyzer-cplusplus.PureVirtualCall, |
| 122 | clang-analyzer-cplusplus.SelfAssignment, |
| 123 | clang-analyzer-cplusplus.SmartPtrModeling, |
| 124 | clang-analyzer-cplusplus.VirtualCallModeling, |
| 125 | clang-analyzer-deadcode.DeadStores, |
| 126 | clang-analyzer-fuchsia.HandleChecker, |
| 127 | clang-analyzer-nullability.NullPassedToNonnull, |
| 128 | clang-analyzer-nullability.NullReturnedFromNonnull, |
| 129 | clang-analyzer-nullability.NullabilityBase, |
| 130 | clang-analyzer-nullability.NullableDereferenced, |
| 131 | clang-analyzer-nullability.NullablePassedToNonnull, |
| 132 | clang-analyzer-nullability.NullableReturnedFromNonnull, |
| 133 | clang-analyzer-optin.cplusplus.UninitializedObject, |
| 134 | clang-analyzer-optin.cplusplus.VirtualCall, |
| 135 | clang-analyzer-optin.mpi.MPI-Checker, |
| 136 | clang-analyzer-optin.osx.OSObjectCStyleCast, |
| 137 | clang-analyzer-optin.osx.cocoa.localizability.EmptyLocalizationContextChecker, |
| 138 | clang-analyzer-optin.osx.cocoa.localizability.NonLocalizedStringChecker, |
| 139 | clang-analyzer-optin.performance.GCDAntipattern, |
| 140 | clang-analyzer-optin.performance.Padding, |
| 141 | clang-analyzer-optin.portability.UnixAPI, |
| 142 | clang-analyzer-osx.API, |
| 143 | clang-analyzer-osx.MIG, |
| 144 | clang-analyzer-osx.NSOrCFErrorDerefChecker, |
| 145 | clang-analyzer-osx.NumberObjectConversion, |
| 146 | clang-analyzer-osx.OSObjectRetainCount, |
| 147 | clang-analyzer-osx.ObjCProperty, |
| 148 | clang-analyzer-osx.SecKeychainAPI, |
| 149 | clang-analyzer-osx.cocoa.AtSync, |
| 150 | clang-analyzer-osx.cocoa.AutoreleaseWrite, |
| 151 | clang-analyzer-osx.cocoa.ClassRelease, |
| 152 | clang-analyzer-osx.cocoa.Dealloc, |
| 153 | clang-analyzer-osx.cocoa.IncompatibleMethodTypes, |
| 154 | clang-analyzer-osx.cocoa.Loops, |
| 155 | clang-analyzer-osx.cocoa.MissingSuperCall, |
| 156 | clang-analyzer-osx.cocoa.NSAutoreleasePool, |
| 157 | clang-analyzer-osx.cocoa.NSError, |
| 158 | clang-analyzer-osx.cocoa.NilArg, |
| 159 | clang-analyzer-osx.cocoa.NonNilReturnValue, |
| 160 | clang-analyzer-osx.cocoa.ObjCGenerics, |
| 161 | clang-analyzer-osx.cocoa.RetainCount, |
| 162 | clang-analyzer-osx.cocoa.RetainCountBase, |
| 163 | clang-analyzer-osx.cocoa.RunLoopAutoreleaseLeak, |
| 164 | clang-analyzer-osx.cocoa.SelfInit, |
| 165 | clang-analyzer-osx.cocoa.SuperDealloc, |
| 166 | clang-analyzer-osx.cocoa.UnusedIvars, |
| 167 | clang-analyzer-osx.cocoa.VariadicMethodTypes, |
| 168 | clang-analyzer-osx.coreFoundation.CFError, |
| 169 | clang-analyzer-osx.coreFoundation.CFNumber, |
| 170 | clang-analyzer-osx.coreFoundation.CFRetainRelease, |
| 171 | clang-analyzer-osx.coreFoundation.containers.OutOfBounds, |
| 172 | clang-analyzer-osx.coreFoundation.containers.PointerSizedValues, |
| 173 | clang-analyzer-security.FloatLoopCounter, |
| 174 | clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling, |
| 175 | clang-analyzer-security.insecureAPI.SecuritySyntaxChecker, |
| 176 | clang-analyzer-security.insecureAPI.UncheckedReturn, |
| 177 | clang-analyzer-security.insecureAPI.bcmp, |
| 178 | clang-analyzer-security.insecureAPI.bcopy, |
| 179 | clang-analyzer-security.insecureAPI.bzero, |
| 180 | clang-analyzer-security.insecureAPI.decodeValueOfObjCType, |
| 181 | clang-analyzer-security.insecureAPI.getpw, |
| 182 | clang-analyzer-security.insecureAPI.gets, |
| 183 | clang-analyzer-security.insecureAPI.mkstemp, |
| 184 | clang-analyzer-security.insecureAPI.mktemp, |
| 185 | clang-analyzer-security.insecureAPI.rand, |
| 186 | clang-analyzer-security.insecureAPI.strcpy, |
| 187 | clang-analyzer-security.insecureAPI.vfork, |
| 188 | clang-analyzer-unix.API, |
| 189 | clang-analyzer-unix.DynamicMemoryModeling, |
| 190 | clang-analyzer-unix.Malloc, |
| 191 | clang-analyzer-unix.MallocSizeof, |
| 192 | clang-analyzer-unix.MismatchedDeallocator, |
| 193 | clang-analyzer-unix.Vfork, |
| 194 | clang-analyzer-unix.cstring.BadSizeArg, |
| 195 | clang-analyzer-unix.cstring.CStringModeling, |
| 196 | clang-analyzer-unix.cstring.NullArg, |
| 197 | clang-analyzer-valist.CopyToSelf, |
| 198 | clang-analyzer-valist.Uninitialized, |
| 199 | clang-analyzer-valist.Unterminated, |
| 200 | clang-analyzer-valist.ValistBase, |
| 201 | clang-analyzer-webkit.NoUncountedMemberChecker, |
| 202 | clang-analyzer-webkit.RefCntblBaseVirtualDtor, |
| 203 | cppcoreguidelines-avoid-c-arrays, |
| 204 | cppcoreguidelines-c-copy-assignment-signature, |
| 205 | cppcoreguidelines-explicit-virtual-functions, |
| 206 | cppcoreguidelines-init-variables, |
| 207 | cppcoreguidelines-interfaces-global-init, |
| 208 | cppcoreguidelines-macro-usage, |
| 209 | cppcoreguidelines-narrowing-conversions, |
| 210 | cppcoreguidelines-no-malloc, |
| 211 | cppcoreguidelines-prefer-member-initializer, |
| 212 | cppcoreguidelines-pro-bounds-array-to-pointer-decay, |
| 213 | cppcoreguidelines-pro-bounds-pointer-arithmetic, |
| 214 | cppcoreguidelines-pro-type-const-cast, |
| 215 | cppcoreguidelines-pro-type-cstyle-cast, |
| 216 | cppcoreguidelines-pro-type-member-init, |
| 217 | cppcoreguidelines-pro-type-static-cast-downcast, |
| 218 | cppcoreguidelines-pro-type-union-access, |
| 219 | cppcoreguidelines-pro-type-vararg, |
| 220 | cppcoreguidelines-slicing, |
| 221 | cppcoreguidelines-special-member-functions, |
| 222 | misc-misplaced-const, |
| 223 | #misc-no-recursion, |
| 224 | misc-redundant-expression, |
| 225 | misc-static-assert, |
| 226 | misc-throw-by-value-catch-by-reference, |
| 227 | misc-unconventional-assign-operator, |
| 228 | misc-uniqueptr-reset-release, |
| 229 | misc-unused-using-decls, |
| 230 | modernize-avoid-bind, |
| 231 | modernize-deprecated-headers, |
| 232 | modernize-deprecated-ios-base-aliases, |
| 233 | modernize-loop-convert, |
| 234 | modernize-make-shared, |
| 235 | modernize-make-unique, |
| 236 | modernize-raw-string-literal, |
| 237 | modernize-replace-auto-ptr, |
| 238 | modernize-replace-random-shuffle, |
| 239 | modernize-return-braced-init-list, |
| 240 | modernize-shrink-to-fit, |
| 241 | modernize-unary-static-assert, |
| 242 | modernize-use-bool-literals, |
| 243 | modernize-use-default-member-init, |
| 244 | modernize-use-emplace, |
| 245 | modernize-use-equals-default, |
| 246 | modernize-use-equals-delete, |
| 247 | modernize-use-noexcept, |
| 248 | modernize-use-nullptr, |
| 249 | modernize-use-override, |
| 250 | modernize-use-transparent-functors, |
| 251 | modernize-use-uncaught-exceptions, |
| 252 | modernize-use-using, |
| 253 | performance-faster-string-find, |
| 254 | performance-for-range-copy, |
| 255 | performance-implicit-conversion-in-loop, |
| 256 | performance-inefficient-algorithm, |
| 257 | performance-inefficient-string-concatenation, |
| 258 | performance-inefficient-vector-operation, |
| 259 | performance-move-const-arg, |
| 260 | performance-move-constructor-init, |
| 261 | performance-no-automatic-move, |
| 262 | performance-no-int-to-ptr, |
| 263 | performance-noexcept-move-constructor, |
| 264 | performance-trivially-destructible, |
| 265 | performance-type-promotion-in-math-fn, |
| 266 | performance-unnecessary-copy-initialization, |
| 267 | performance-unnecessary-value-param, |
| 268 | readability-avoid-const-params-in-decls, |
| 269 | readability-braces-around-statements, |
| 270 | readability-const-return-type, |
| 271 | readability-container-size-empty, |
| 272 | readability-delete-null-pointer, |
| 273 | readability-deleted-default, |
| 274 | readability-else-after-return, |
| 275 | readability-implicit-bool-conversion, |
| 276 | readability-named-parameter, |
| 277 | readability-redundant-control-flow, |
| 278 | readability-redundant-declaration, |
| 279 | readability-redundant-function-ptr-dereference, |
| 280 | readability-redundant-member-init, |
| 281 | readability-redundant-preprocessor, |
| 282 | readability-redundant-smartptr-get, |
| 283 | readability-redundant-string-cstr, |
| 284 | readability-redundant-string-init, |
| 285 | readability-static-accessed-through-instance, |
| 286 | readability-identifier-naming, |
| 287 | readability-uppercase-literal-suffix' |
| 288 | |
| 289 | WarningsAsErrors: '*' |
| 290 | HeaderFilterRegex: '.*' |
| 291 | CheckOptions: |
| 292 | - { key: readability-identifier-naming.ClassCase, value: CamelCase } |
| 293 | - { key: readability-identifier-naming.VariableCase, value: camelBack } |
| 294 | - { key: readability-identifier-naming.FunctionCase, value: camelBack } |
| 295 | - { key: readability-identifier-naming.ParameterCase, value: camelBack } |
| 296 | - { key: readability-identifier-naming.NamespaceCase, value: lower_case } |
| 297 | - { key: readability-identifier-naming.StructCase, value: CamelCase } |
John Edward Broadbent | 605085a | 2021-11-05 13:45:45 -0700 | [diff] [blame] | 298 | - { 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] | 299 | |