| Pavithra Barithaya | 864e173 | 2023-04-11 04:30:23 -0500 | [diff] [blame] | 1 | Checks: ' -*, | 
 | 2 | bugprone-argument-comment, | 
 | 3 | bugprone-assert-side-effect, | 
 | 4 | bugprone-bad-signal-to-kill-thread, | 
 | 5 | bugprone-bool-pointer-implicit-conversion, | 
 | 6 | bugprone-branch-clone, | 
 | 7 | bugprone-copy-constructor-init, | 
 | 8 | bugprone-dangling-handle, | 
 | 9 | bugprone-dynamic-static-initializers, | 
 | 10 | bugprone-fold-init-type, | 
 | 11 | bugprone-forward-declaration-namespace, | 
 | 12 | bugprone-forwarding-reference-overload, | 
 | 13 | bugprone-implicit-widening-of-multiplication-result, | 
 | 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-move-forwarding-reference, | 
 | 25 | bugprone-multiple-statement-macro, | 
 | 26 | bugprone-narrowing-conversions, | 
 | 27 | bugprone-no-escape, | 
 | 28 | bugprone-not-null-terminated-result, | 
 | 29 | bugprone-parent-virtual-call, | 
 | 30 | bugprone-posix-return, | 
 | 31 | bugprone-redundant-branch-condition, | 
| Pavithra Barithaya | f1cf9fa | 2023-04-28 02:22:12 -0500 | [diff] [blame] | 32 | bugprone-reserved-identifier, | 
| Pavithra Barithaya | 864e173 | 2023-04-11 04:30:23 -0500 | [diff] [blame] | 33 | bugprone-signal-handler, | 
 | 34 | bugprone-signed-char-misuse, | 
 | 35 | bugprone-sizeof-container, | 
 | 36 | bugprone-sizeof-expression, | 
 | 37 | bugprone-spuriously-wake-up-functions, | 
 | 38 | bugprone-string-constructor, | 
 | 39 | bugprone-string-integer-assignment, | 
 | 40 | bugprone-string-literal-with-embedded-nul, | 
 | 41 | bugprone-suspicious-enum-usage, | 
 | 42 | bugprone-suspicious-include, | 
 | 43 | bugprone-suspicious-memset-usage, | 
 | 44 | bugprone-suspicious-missing-comma, | 
 | 45 | bugprone-suspicious-semicolon, | 
 | 46 | bugprone-suspicious-string-compare, | 
 | 47 | bugprone-swapped-arguments, | 
 | 48 | bugprone-terminating-continue, | 
 | 49 | bugprone-throw-keyword-missing, | 
 | 50 | bugprone-too-small-loop-variable, | 
 | 51 | bugprone-undefined-memory-manipulation, | 
 | 52 | bugprone-undelegated-constructor, | 
 | 53 | bugprone-unhandled-exception-at-new, | 
 | 54 | bugprone-unhandled-self-assignment, | 
 | 55 | bugprone-unused-raii, | 
 | 56 | bugprone-unused-return-value, | 
 | 57 | bugprone-use-after-move, | 
 | 58 | bugprone-virtual-near-miss, | 
 | 59 | cert-con36-c, | 
 | 60 | cert-con54-cpp, | 
 | 61 | cert-dcl03-c, | 
 | 62 | cert-dcl16-c, | 
 | 63 | cert-dcl21-cpp, | 
| Pavithra Barithaya | f1cf9fa | 2023-04-28 02:22:12 -0500 | [diff] [blame] | 64 | cert-dcl37-c, | 
| Pavithra Barithaya | 864e173 | 2023-04-11 04:30:23 -0500 | [diff] [blame] | 65 | cert-dcl50-cpp, | 
| Pavithra Barithaya | f1cf9fa | 2023-04-28 02:22:12 -0500 | [diff] [blame] | 66 | cert-dcl51-cpp, | 
| Pavithra Barithaya | 864e173 | 2023-04-11 04:30:23 -0500 | [diff] [blame] | 67 | cert-dcl54-cpp, | 
 | 68 | cert-dcl58-cpp, | 
 | 69 | cert-dcl59-cpp, | 
 | 70 | cert-env33-c, | 
 | 71 | cert-err09-cpp, | 
 | 72 | cert-err34-c, | 
 | 73 | cert-err52-cpp, | 
 | 74 | cert-err60-cpp, | 
 | 75 | cert-err61-cpp, | 
 | 76 | cert-fio38-c, | 
 | 77 | cert-flp30-c, | 
 | 78 | cert-mem57-cpp, | 
 | 79 | cert-msc30-c, | 
 | 80 | cert-msc32-c, | 
 | 81 | cert-msc50-cpp, | 
 | 82 | cert-msc51-cpp, | 
 | 83 | cert-oop11-cpp, | 
 | 84 | cert-oop54-cpp, | 
 | 85 | cert-oop57-cpp, | 
 | 86 | cert-oop58-cpp, | 
 | 87 | cert-pos44-c, | 
 | 88 | cert-pos47-c, | 
 | 89 | cert-sig30-c, | 
 | 90 | cert-str34-c, | 
 | 91 | clang-analyzer-apiModeling.StdCLibraryFunctions, | 
 | 92 | clang-analyzer-apiModeling.TrustNonnull, | 
 | 93 | clang-analyzer-apiModeling.google.GTest, | 
 | 94 | clang-analyzer-apiModeling.llvm.CastValue, | 
 | 95 | clang-analyzer-apiModeling.llvm.ReturnValue, | 
 | 96 | clang-analyzer-core.CallAndMessage, | 
 | 97 | clang-analyzer-core.CallAndMessageModeling, | 
 | 98 | clang-analyzer-core.DivideZero, | 
 | 99 | clang-analyzer-core.DynamicTypePropagation, | 
 | 100 | clang-analyzer-core.NonNullParamChecker, | 
 | 101 | clang-analyzer-core.NonnilStringConstants, | 
 | 102 | clang-analyzer-core.NullDereference, | 
 | 103 | clang-analyzer-core.StackAddrEscapeBase, | 
 | 104 | clang-analyzer-core.StackAddressEscape, | 
 | 105 | clang-analyzer-core.UndefinedBinaryOperatorResult, | 
 | 106 | clang-analyzer-core.VLASize, | 
 | 107 | clang-analyzer-core.builtin.BuiltinFunctions, | 
 | 108 | clang-analyzer-core.builtin.NoReturnFunctions, | 
 | 109 | clang-analyzer-core.uninitialized.ArraySubscript, | 
 | 110 | clang-analyzer-core.uninitialized.Assign, | 
 | 111 | clang-analyzer-core.uninitialized.Branch, | 
 | 112 | clang-analyzer-core.uninitialized.CapturedBlockVariable, | 
 | 113 | clang-analyzer-core.uninitialized.UndefReturn, | 
 | 114 | clang-analyzer-cplusplus.InnerPointer, | 
 | 115 | clang-analyzer-cplusplus.Move, | 
 | 116 | clang-analyzer-cplusplus.NewDelete, | 
 | 117 | clang-analyzer-cplusplus.NewDeleteLeaks, | 
 | 118 | clang-analyzer-cplusplus.PlacementNew, | 
 | 119 | clang-analyzer-cplusplus.PureVirtualCall, | 
 | 120 | clang-analyzer-cplusplus.SelfAssignment, | 
 | 121 | clang-analyzer-cplusplus.SmartPtrModeling, | 
 | 122 | clang-analyzer-cplusplus.VirtualCallModeling, | 
 | 123 | clang-analyzer-deadcode.DeadStores, | 
 | 124 | clang-analyzer-fuchsia.HandleChecker, | 
 | 125 | clang-analyzer-nullability.NullPassedToNonnull, | 
 | 126 | clang-analyzer-nullability.NullReturnedFromNonnull, | 
 | 127 | clang-analyzer-nullability.NullabilityBase, | 
 | 128 | clang-analyzer-nullability.NullableDereferenced, | 
 | 129 | clang-analyzer-nullability.NullablePassedToNonnull, | 
 | 130 | clang-analyzer-nullability.NullableReturnedFromNonnull, | 
 | 131 | clang-analyzer-optin.cplusplus.UninitializedObject, | 
 | 132 | clang-analyzer-optin.cplusplus.VirtualCall, | 
 | 133 | clang-analyzer-optin.mpi.MPI-Checker, | 
 | 134 | clang-analyzer-optin.osx.OSObjectCStyleCast, | 
 | 135 | clang-analyzer-optin.osx.cocoa.localizability.EmptyLocalizationContextChecker, | 
 | 136 | clang-analyzer-optin.osx.cocoa.localizability.NonLocalizedStringChecker, | 
 | 137 | clang-analyzer-optin.performance.GCDAntipattern, | 
 | 138 | clang-analyzer-optin.performance.Padding, | 
 | 139 | clang-analyzer-optin.portability.UnixAPI, | 
 | 140 | clang-analyzer-osx.API, | 
 | 141 | clang-analyzer-osx.MIG, | 
 | 142 | clang-analyzer-osx.NSOrCFErrorDerefChecker, | 
 | 143 | clang-analyzer-osx.NumberObjectConversion, | 
 | 144 | clang-analyzer-osx.OSObjectRetainCount, | 
 | 145 | clang-analyzer-osx.ObjCProperty, | 
 | 146 | clang-analyzer-osx.SecKeychainAPI, | 
 | 147 | clang-analyzer-osx.cocoa.AtSync, | 
 | 148 | clang-analyzer-osx.cocoa.AutoreleaseWrite, | 
 | 149 | clang-analyzer-osx.cocoa.ClassRelease, | 
 | 150 | clang-analyzer-osx.cocoa.Dealloc, | 
 | 151 | clang-analyzer-osx.cocoa.IncompatibleMethodTypes, | 
 | 152 | clang-analyzer-osx.cocoa.Loops, | 
 | 153 | clang-analyzer-osx.cocoa.MissingSuperCall, | 
 | 154 | clang-analyzer-osx.cocoa.NSAutoreleasePool, | 
 | 155 | clang-analyzer-osx.cocoa.NSError, | 
 | 156 | clang-analyzer-osx.cocoa.NilArg, | 
 | 157 | clang-analyzer-osx.cocoa.NonNilReturnValue, | 
 | 158 | clang-analyzer-osx.cocoa.ObjCGenerics, | 
 | 159 | clang-analyzer-osx.cocoa.RetainCount, | 
 | 160 | clang-analyzer-osx.cocoa.RetainCountBase, | 
 | 161 | clang-analyzer-osx.cocoa.RunLoopAutoreleaseLeak, | 
 | 162 | clang-analyzer-osx.cocoa.SelfInit, | 
 | 163 | clang-analyzer-osx.cocoa.SuperDealloc, | 
 | 164 | clang-analyzer-osx.cocoa.UnusedIvars, | 
 | 165 | clang-analyzer-osx.cocoa.VariadicMethodTypes, | 
 | 166 | clang-analyzer-osx.coreFoundation.CFError, | 
 | 167 | clang-analyzer-osx.coreFoundation.CFNumber, | 
 | 168 | clang-analyzer-osx.coreFoundation.CFRetainRelease, | 
 | 169 | clang-analyzer-osx.coreFoundation.containers.OutOfBounds, | 
 | 170 | clang-analyzer-osx.coreFoundation.containers.PointerSizedValues, | 
 | 171 | clang-analyzer-security.FloatLoopCounter, | 
 | 172 | clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling, | 
 | 173 | clang-analyzer-security.insecureAPI.SecuritySyntaxChecker, | 
 | 174 | clang-analyzer-security.insecureAPI.UncheckedReturn, | 
 | 175 | clang-analyzer-security.insecureAPI.bcmp, | 
 | 176 | clang-analyzer-security.insecureAPI.bcopy, | 
 | 177 | clang-analyzer-security.insecureAPI.bzero, | 
 | 178 | clang-analyzer-security.insecureAPI.decodeValueOfObjCType, | 
 | 179 | clang-analyzer-security.insecureAPI.getpw, | 
 | 180 | clang-analyzer-security.insecureAPI.gets, | 
 | 181 | clang-analyzer-security.insecureAPI.mkstemp, | 
 | 182 | clang-analyzer-security.insecureAPI.mktemp, | 
 | 183 | clang-analyzer-security.insecureAPI.rand, | 
 | 184 | clang-analyzer-security.insecureAPI.strcpy, | 
 | 185 | clang-analyzer-security.insecureAPI.vfork, | 
 | 186 | clang-analyzer-unix.API, | 
 | 187 | clang-analyzer-unix.DynamicMemoryModeling, | 
 | 188 | clang-analyzer-unix.Malloc, | 
 | 189 | clang-analyzer-unix.MallocSizeof, | 
 | 190 | clang-analyzer-unix.MismatchedDeallocator, | 
 | 191 | clang-analyzer-unix.Vfork, | 
 | 192 | clang-analyzer-unix.cstring.BadSizeArg, | 
 | 193 | clang-analyzer-unix.cstring.CStringModeling, | 
 | 194 | clang-analyzer-unix.cstring.NullArg, | 
 | 195 | clang-analyzer-valist.CopyToSelf, | 
 | 196 | clang-analyzer-valist.Uninitialized, | 
 | 197 | clang-analyzer-valist.Unterminated, | 
 | 198 | clang-analyzer-valist.ValistBase, | 
 | 199 | clang-analyzer-webkit.NoUncountedMemberChecker, | 
 | 200 | clang-analyzer-webkit.RefCntblBaseVirtualDtor, | 
| Pavithra Barithaya | 8af2a1e | 2023-04-27 00:46:35 -0500 | [diff] [blame] | 201 | cppcoreguidelines-avoid-c-arrays, | 
 | 202 | cppcoreguidelines-avoid-goto, | 
 | 203 | cppcoreguidelines-avoid-non-const-global-variables, | 
 | 204 | cppcoreguidelines-c-copy-assignment-signature, | 
 | 205 | cppcoreguidelines-explicit-virtual-functions, | 
 | 206 | cppcoreguidelines-init-variables, | 
 | 207 | cppcoreguidelines-macro-usage, | 
 | 208 | cppcoreguidelines-narrowing-conversions, | 
 | 209 | cppcoreguidelines-no-malloc, | 
 | 210 | cppcoreguidelines-prefer-member-initializer, | 
 | 211 | cppcoreguidelines-pro-bounds-array-to-pointer-decay, | 
 | 212 | cppcoreguidelines-pro-bounds-pointer-arithmetic, | 
 | 213 | cppcoreguidelines-pro-type-const-cast, | 
 | 214 | cppcoreguidelines-pro-type-cstyle-cast, | 
 | 215 | cppcoreguidelines-pro-type-member-init, | 
 | 216 | cppcoreguidelines-pro-type-reinterpret-cast, | 
 | 217 | cppcoreguidelines-pro-type-static-cast-downcast, | 
 | 218 | cppcoreguidelines-pro-type-union-access, | 
 | 219 | cppcoreguidelines-pro-type-vararg, | 
 | 220 | cppcoreguidelines-slicing, | 
| Pavithra Barithaya | 06df654 | 2023-04-28 01:18:31 -0500 | [diff] [blame] | 221 | cppcoreguidelines-special-member-functions, | 
| Pavithra Barithaya | b99426b | 2023-04-28 02:05:55 -0500 | [diff] [blame] | 222 | google-explicit-constructor, | 
 | 223 | misc-misplaced-const, | 
 | 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, | 
| Pavithra Barithaya | f93c405 | 2023-04-26 23:28:13 -0500 | [diff] [blame] | 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, | 
| Pavithra Barithaya | 506b366 | 2023-04-26 05:43:13 -0500 | [diff] [blame] | 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, | 
| Pavithra Barithaya | 864e173 | 2023-04-11 04:30:23 -0500 | [diff] [blame] | 268 | readability-avoid-const-params-in-decls, | 
 | 269 | readability-braces-around-statements, | 
 | 270 | readability-const-return-type, | 
 | 271 | readability-container-size-empty, | 
 | 272 | readability-convert-member-functions-to-static, | 
 | 273 | readability-delete-null-pointer, | 
 | 274 | readability-deleted-default, | 
 | 275 | readability-else-after-return, | 
 | 276 | readability-function-size, | 
 | 277 | readability-identifier-naming, | 
 | 278 | readability-implicit-bool-conversion, | 
 | 279 | readability-inconsistent-declaration-parameter-name, | 
 | 280 | readability-isolate-declaration, | 
 | 281 | readability-make-member-function-const, | 
 | 282 | readability-misleading-indentation, | 
 | 283 | readability-misplaced-array-index, | 
 | 284 | readability-named-parameter, | 
 | 285 | readability-non-const-parameter, | 
 | 286 | readability-qualified-auto, | 
 | 287 | readability-redundant-access-specifiers, | 
 | 288 | readability-redundant-control-flow, | 
 | 289 | readability-redundant-declaration, | 
 | 290 | readability-redundant-function-ptr-dereference, | 
 | 291 | readability-redundant-member-init, | 
 | 292 | readability-redundant-preprocessor, | 
 | 293 | readability-redundant-smartptr-get, | 
 | 294 | readability-redundant-string-cstr, | 
 | 295 | readability-redundant-string-init, | 
 | 296 | readability-simplify-boolean-expr, | 
 | 297 | readability-simplify-subscript-expr, | 
 | 298 | readability-static-accessed-through-instance, | 
 | 299 | readability-static-definition-in-anonymous-namespace, | 
 | 300 | readability-string-compare, | 
 | 301 | readability-suspicious-call-argument, | 
 | 302 | readability-uniqueptr-delete-release, | 
 | 303 | readability-uppercase-literal-suffix' | 
 | 304 |  | 
 | 305 | WarningsAsErrors: '*' | 
| Lei YU | 3afad18 | 2023-07-18 13:41:30 +0800 | [diff] [blame] | 306 | HeaderFilterRegex: '.*.hpp' | 
| Pavithra Barithaya | 864e173 | 2023-04-11 04:30:23 -0500 | [diff] [blame] | 307 |  | 
 | 308 | CheckOptions: | 
 | 309 |   - { key: readability-identifier-naming.ClassCase,     value: CamelCase  } | 
 | 310 |   - { key: readability-identifier-naming.VariableCase,  value: camelBack } | 
 | 311 |   - { key: readability-identifier-naming.FunctionCase,  value: camelBack } | 
 | 312 |   - { key: readability-identifier-naming.ParameterCase, value: camelBack } | 
 | 313 |   - { key: readability-identifier-naming.NamespaceCase, value: lower_case } | 
 | 314 |   - { key: readability-identifier-naming.StructCase,    value: CamelCase  } | 
 | 315 |   - { key: readability-implicit-bool-conversion.AllowPointerConditions,  value: 1 } |