Ed Tanous | 3174e4d | 2020-10-07 11:41:22 -0700 | [diff] [blame] | 1 | Checks: ' |
| 2 | -*, |
Ed Tanous | d63c72e | 2022-01-06 12:49:12 -0800 | [diff] [blame] | 3 | boost-use-to-string, |
Ed Tanous | f23b729 | 2020-10-15 09:41:17 -0700 | [diff] [blame] | 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, |
Ed Tanous | 24b2fe8 | 2022-01-06 12:45:54 -0800 | [diff] [blame] | 12 | bugprone-exception-escape, |
Ed Tanous | f23b729 | 2020-10-15 09:41:17 -0700 | [diff] [blame] | 13 | bugprone-fold-init-type, |
| 14 | bugprone-forward-declaration-namespace, |
| 15 | bugprone-forwarding-reference-overload, |
Ed Tanous | 6de264c | 2022-01-06 12:47:59 -0800 | [diff] [blame] | 16 | bugprone-implicit-widening-of-multiplication-result, |
Ed Tanous | f23b729 | 2020-10-15 09:41:17 -0700 | [diff] [blame] | 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, |
Ed Tanous | f94c4ec | 2022-01-06 12:44:41 -0800 | [diff] [blame] | 27 | bugprone-move-forwarding-reference, |
Ed Tanous | f23b729 | 2020-10-15 09:41:17 -0700 | [diff] [blame] | 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, |
Ed Tanous | d63c72e | 2022-01-06 12:49:12 -0800 | [diff] [blame] | 34 | bugprone-redundant-branch-condition, |
Ed Tanous | f23b729 | 2020-10-15 09:41:17 -0700 | [diff] [blame] | 35 | bugprone-reserved-identifier, |
Ed Tanous | d63c72e | 2022-01-06 12:49:12 -0800 | [diff] [blame] | 36 | bugprone-signal-handler, |
Ed Tanous | f23b729 | 2020-10-15 09:41:17 -0700 | [diff] [blame] | 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, |
Ed Tanous | d63c72e | 2022-01-06 12:49:12 -0800 | [diff] [blame] | 45 | bugprone-suspicious-include, |
Ed Tanous | f23b729 | 2020-10-15 09:41:17 -0700 | [diff] [blame] | 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, |
Ed Tanous | d63c72e | 2022-01-06 12:49:12 -0800 | [diff] [blame] | 56 | bugprone-unhandled-exception-at-new, |
Ed Tanous | f23b729 | 2020-10-15 09:41:17 -0700 | [diff] [blame] | 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, |
Ed Tanous | d63c72e | 2022-01-06 12:49:12 -0800 | [diff] [blame] | 89 | cert-oop58-cpp, |
| 90 | cert-pos44-c, |
| 91 | cert-pos47-c, |
| 92 | cert-sig30-c, |
| 93 | cert-str34-c, |
Ed Tanous | 3174e4d | 2020-10-07 11:41:22 -0700 | [diff] [blame] | 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, |
Ed Tanous | 543f440 | 2022-01-06 13:12:53 -0800 | [diff] [blame] | 204 | cppcoreguidelines-init-variables, |
Ed Tanous | d3a9e08 | 2022-01-07 09:30:41 -0800 | [diff] [blame] | 205 | cppcoreguidelines-interfaces-global-init, |
Ed Tanous | 600d239 | 2022-01-07 09:32:03 -0800 | [diff] [blame^] | 206 | cppcoreguidelines-macro-usage, |
Ed Tanous | ca45aa3 | 2022-01-07 09:28:45 -0800 | [diff] [blame] | 207 | cppcoreguidelines-pro-bounds-pointer-arithmetic, |
Ed Tanous | d3a9e08 | 2022-01-07 09:30:41 -0800 | [diff] [blame] | 208 | cppcoreguidelines-pro-type-member-init, |
Ed Tanous | 46ff87b | 2022-01-07 09:25:51 -0800 | [diff] [blame] | 209 | cppcoreguidelines-pro-type-reinterpret-cast, |
Ed Tanous | ecd6a3a | 2022-01-07 09:18:40 -0800 | [diff] [blame] | 210 | cppcoreguidelines-special-member-functions, |
Ed Tanous | f23b729 | 2020-10-15 09:41:17 -0700 | [diff] [blame] | 211 | misc-misplaced-const, |
Ed Tanous | b00dcc2 | 2021-02-23 12:52:50 -0800 | [diff] [blame] | 212 | #misc-no-recursion, |
Ed Tanous | f23b729 | 2020-10-15 09:41:17 -0700 | [diff] [blame] | 213 | misc-redundant-expression, |
| 214 | misc-static-assert, |
| 215 | misc-throw-by-value-catch-by-reference, |
| 216 | misc-unconventional-assign-operator, |
| 217 | misc-uniqueptr-reset-release, |
| 218 | misc-unused-using-decls, |
Ed Tanous | 3174e4d | 2020-10-07 11:41:22 -0700 | [diff] [blame] | 219 | modernize-avoid-bind, |
| 220 | modernize-deprecated-headers, |
| 221 | modernize-deprecated-ios-base-aliases, |
| 222 | modernize-loop-convert, |
| 223 | modernize-make-shared, |
| 224 | modernize-make-unique, |
| 225 | modernize-raw-string-literal, |
| 226 | modernize-replace-auto-ptr, |
| 227 | modernize-replace-random-shuffle, |
| 228 | modernize-return-braced-init-list, |
| 229 | modernize-shrink-to-fit, |
| 230 | modernize-unary-static-assert, |
| 231 | modernize-use-bool-literals, |
| 232 | modernize-use-default-member-init, |
| 233 | modernize-use-emplace, |
| 234 | modernize-use-equals-default, |
| 235 | modernize-use-equals-delete, |
| 236 | modernize-use-noexcept, |
| 237 | modernize-use-nullptr, |
| 238 | modernize-use-override, |
| 239 | modernize-use-transparent-functors, |
| 240 | modernize-use-uncaught-exceptions, |
| 241 | modernize-use-using, |
Ed Tanous | f23b729 | 2020-10-15 09:41:17 -0700 | [diff] [blame] | 242 | performance-faster-string-find, |
Ed Tanous | 3174e4d | 2020-10-07 11:41:22 -0700 | [diff] [blame] | 243 | performance-for-range-copy, |
| 244 | performance-implicit-conversion-in-loop, |
| 245 | performance-inefficient-algorithm, |
Ed Tanous | f23b729 | 2020-10-15 09:41:17 -0700 | [diff] [blame] | 246 | performance-inefficient-string-concatenation, |
Ed Tanous | 3174e4d | 2020-10-07 11:41:22 -0700 | [diff] [blame] | 247 | performance-inefficient-vector-operation, |
Ed Tanous | f23b729 | 2020-10-15 09:41:17 -0700 | [diff] [blame] | 248 | performance-move-const-arg, |
Ed Tanous | 3174e4d | 2020-10-07 11:41:22 -0700 | [diff] [blame] | 249 | performance-move-constructor-init, |
| 250 | performance-no-automatic-move, |
Ed Tanous | f23b729 | 2020-10-15 09:41:17 -0700 | [diff] [blame] | 251 | performance-noexcept-move-constructor, |
Ed Tanous | 3174e4d | 2020-10-07 11:41:22 -0700 | [diff] [blame] | 252 | performance-trivially-destructible, |
| 253 | performance-type-promotion-in-math-fn, |
| 254 | performance-unnecessary-copy-initialization, |
Ed Tanous | f23b729 | 2020-10-15 09:41:17 -0700 | [diff] [blame] | 255 | performance-unnecessary-value-param, |
Ed Tanous | 3174e4d | 2020-10-07 11:41:22 -0700 | [diff] [blame] | 256 | readability-braces-around-statements, |
| 257 | readability-const-return-type, |
| 258 | readability-delete-null-pointer, |
| 259 | readability-deleted-default, |
Ed Tanous | f23b729 | 2020-10-15 09:41:17 -0700 | [diff] [blame] | 260 | readability-else-after-return, |
Brad Bishop | 5259963 | 2020-10-27 20:08:33 -0400 | [diff] [blame] | 261 | readability-identifier-naming' |
Ed Tanous | 3174e4d | 2020-10-07 11:41:22 -0700 | [diff] [blame] | 262 | |
| 263 | WarningsAsErrors: '*' |
Ed Tanous | b0bb6f2 | 2020-09-28 16:43:15 -0700 | [diff] [blame] | 264 | HeaderFilterRegex: '.*' |
| 265 | CheckOptions: |
| 266 | - { key: readability-identifier-naming.ClassCase, value: CamelCase } |
| 267 | - { key: readability-identifier-naming.VariableCase, value: camelBack } |
| 268 | - { key: readability-identifier-naming.FunctionCase, value: camelBack } |
Ed Tanous | 81ce609 | 2020-12-17 16:54:55 +0000 | [diff] [blame] | 269 | - { key: readability-identifier-naming.ParameterCase, value: camelBack } |
Ed Tanous | b0bb6f2 | 2020-09-28 16:43:15 -0700 | [diff] [blame] | 270 | - { key: readability-identifier-naming.NamespaceCase, value: lower_case } |
| 271 | - { key: readability-identifier-naming.StructCase, value: CamelCase } |
| 272 | |