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