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