1Checks: ' -*, 2bugprone-argument-comment, 3bugprone-assert-side-effect, 4bugprone-bad-signal-to-kill-thread, 5bugprone-bool-pointer-implicit-conversion, 6bugprone-branch-clone, 7bugprone-copy-constructor-init, 8bugprone-dangling-handle, 9bugprone-dynamic-static-initializers, 10bugprone-fold-init-type, 11bugprone-forward-declaration-namespace, 12bugprone-forwarding-reference-overload, 13bugprone-implicit-widening-of-multiplication-result, 14bugprone-inaccurate-erase, 15bugprone-incorrect-roundings, 16bugprone-infinite-loop, 17bugprone-integer-division, 18bugprone-lambda-function-name, 19bugprone-macro-parentheses, 20bugprone-macro-repeated-side-effects, 21bugprone-misplaced-operator-in-strlen-in-alloc, 22bugprone-misplaced-pointer-arithmetic-in-alloc, 23bugprone-misplaced-widening-cast, 24bugprone-move-forwarding-reference, 25bugprone-multiple-statement-macro, 26bugprone-narrowing-conversions, 27bugprone-no-escape, 28bugprone-not-null-terminated-result, 29bugprone-parent-virtual-call, 30bugprone-posix-return, 31bugprone-redundant-branch-condition, 32bugprone-reserved-identifier, 33bugprone-signal-handler, 34bugprone-signed-char-misuse, 35bugprone-sizeof-container, 36bugprone-sizeof-expression, 37bugprone-spuriously-wake-up-functions, 38bugprone-string-constructor, 39bugprone-string-integer-assignment, 40bugprone-string-literal-with-embedded-nul, 41bugprone-suspicious-enum-usage, 42bugprone-suspicious-include, 43bugprone-suspicious-memset-usage, 44bugprone-suspicious-missing-comma, 45bugprone-suspicious-semicolon, 46bugprone-suspicious-string-compare, 47bugprone-swapped-arguments, 48bugprone-terminating-continue, 49bugprone-throw-keyword-missing, 50bugprone-too-small-loop-variable, 51bugprone-undefined-memory-manipulation, 52bugprone-undelegated-constructor, 53bugprone-unhandled-exception-at-new, 54bugprone-unhandled-self-assignment, 55bugprone-unused-raii, 56bugprone-unused-return-value, 57bugprone-use-after-move, 58bugprone-virtual-near-miss, 59cert-con36-c, 60cert-con54-cpp, 61cert-dcl03-c, 62cert-dcl16-c, 63cert-dcl21-cpp, 64cert-dcl37-c, 65cert-dcl50-cpp, 66cert-dcl51-cpp, 67cert-dcl54-cpp, 68cert-dcl58-cpp, 69cert-dcl59-cpp, 70cert-env33-c, 71cert-err09-cpp, 72cert-err34-c, 73cert-err52-cpp, 74cert-err60-cpp, 75cert-err61-cpp, 76cert-fio38-c, 77cert-flp30-c, 78cert-mem57-cpp, 79cert-msc30-c, 80cert-msc32-c, 81cert-msc50-cpp, 82cert-msc51-cpp, 83cert-oop11-cpp, 84cert-oop54-cpp, 85cert-oop57-cpp, 86cert-oop58-cpp, 87cert-pos44-c, 88cert-pos47-c, 89cert-sig30-c, 90cert-str34-c, 91clang-analyzer-apiModeling.StdCLibraryFunctions, 92clang-analyzer-apiModeling.TrustNonnull, 93clang-analyzer-apiModeling.google.GTest, 94clang-analyzer-apiModeling.llvm.CastValue, 95clang-analyzer-apiModeling.llvm.ReturnValue, 96clang-analyzer-core.CallAndMessage, 97clang-analyzer-core.CallAndMessageModeling, 98clang-analyzer-core.DivideZero, 99clang-analyzer-core.DynamicTypePropagation, 100clang-analyzer-core.NonNullParamChecker, 101clang-analyzer-core.NonnilStringConstants, 102clang-analyzer-core.NullDereference, 103clang-analyzer-core.StackAddrEscapeBase, 104clang-analyzer-core.StackAddressEscape, 105clang-analyzer-core.UndefinedBinaryOperatorResult, 106clang-analyzer-core.VLASize, 107clang-analyzer-core.builtin.BuiltinFunctions, 108clang-analyzer-core.builtin.NoReturnFunctions, 109clang-analyzer-core.uninitialized.ArraySubscript, 110clang-analyzer-core.uninitialized.Assign, 111clang-analyzer-core.uninitialized.Branch, 112clang-analyzer-core.uninitialized.CapturedBlockVariable, 113clang-analyzer-core.uninitialized.UndefReturn, 114clang-analyzer-cplusplus.InnerPointer, 115clang-analyzer-cplusplus.Move, 116clang-analyzer-cplusplus.NewDelete, 117clang-analyzer-cplusplus.NewDeleteLeaks, 118clang-analyzer-cplusplus.PlacementNew, 119clang-analyzer-cplusplus.PureVirtualCall, 120clang-analyzer-cplusplus.SelfAssignment, 121clang-analyzer-cplusplus.SmartPtrModeling, 122clang-analyzer-cplusplus.VirtualCallModeling, 123clang-analyzer-deadcode.DeadStores, 124clang-analyzer-fuchsia.HandleChecker, 125clang-analyzer-nullability.NullPassedToNonnull, 126clang-analyzer-nullability.NullReturnedFromNonnull, 127clang-analyzer-nullability.NullabilityBase, 128clang-analyzer-nullability.NullableDereferenced, 129clang-analyzer-nullability.NullablePassedToNonnull, 130clang-analyzer-nullability.NullableReturnedFromNonnull, 131clang-analyzer-optin.cplusplus.UninitializedObject, 132clang-analyzer-optin.cplusplus.VirtualCall, 133clang-analyzer-optin.mpi.MPI-Checker, 134clang-analyzer-optin.osx.OSObjectCStyleCast, 135clang-analyzer-optin.osx.cocoa.localizability.EmptyLocalizationContextChecker, 136clang-analyzer-optin.osx.cocoa.localizability.NonLocalizedStringChecker, 137clang-analyzer-optin.performance.GCDAntipattern, 138clang-analyzer-optin.performance.Padding, 139clang-analyzer-optin.portability.UnixAPI, 140clang-analyzer-osx.API, 141clang-analyzer-osx.MIG, 142clang-analyzer-osx.NSOrCFErrorDerefChecker, 143clang-analyzer-osx.NumberObjectConversion, 144clang-analyzer-osx.OSObjectRetainCount, 145clang-analyzer-osx.ObjCProperty, 146clang-analyzer-osx.SecKeychainAPI, 147clang-analyzer-osx.cocoa.AtSync, 148clang-analyzer-osx.cocoa.AutoreleaseWrite, 149clang-analyzer-osx.cocoa.ClassRelease, 150clang-analyzer-osx.cocoa.Dealloc, 151clang-analyzer-osx.cocoa.IncompatibleMethodTypes, 152clang-analyzer-osx.cocoa.Loops, 153clang-analyzer-osx.cocoa.MissingSuperCall, 154clang-analyzer-osx.cocoa.NSAutoreleasePool, 155clang-analyzer-osx.cocoa.NSError, 156clang-analyzer-osx.cocoa.NilArg, 157clang-analyzer-osx.cocoa.NonNilReturnValue, 158clang-analyzer-osx.cocoa.ObjCGenerics, 159clang-analyzer-osx.cocoa.RetainCount, 160clang-analyzer-osx.cocoa.RetainCountBase, 161clang-analyzer-osx.cocoa.RunLoopAutoreleaseLeak, 162clang-analyzer-osx.cocoa.SelfInit, 163clang-analyzer-osx.cocoa.SuperDealloc, 164clang-analyzer-osx.cocoa.UnusedIvars, 165clang-analyzer-osx.cocoa.VariadicMethodTypes, 166clang-analyzer-osx.coreFoundation.CFError, 167clang-analyzer-osx.coreFoundation.CFNumber, 168clang-analyzer-osx.coreFoundation.CFRetainRelease, 169clang-analyzer-osx.coreFoundation.containers.OutOfBounds, 170clang-analyzer-osx.coreFoundation.containers.PointerSizedValues, 171clang-analyzer-security.FloatLoopCounter, 172clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling, 173clang-analyzer-security.insecureAPI.SecuritySyntaxChecker, 174clang-analyzer-security.insecureAPI.UncheckedReturn, 175clang-analyzer-security.insecureAPI.bcmp, 176clang-analyzer-security.insecureAPI.bcopy, 177clang-analyzer-security.insecureAPI.bzero, 178clang-analyzer-security.insecureAPI.decodeValueOfObjCType, 179clang-analyzer-security.insecureAPI.getpw, 180clang-analyzer-security.insecureAPI.gets, 181clang-analyzer-security.insecureAPI.mkstemp, 182clang-analyzer-security.insecureAPI.mktemp, 183clang-analyzer-security.insecureAPI.rand, 184clang-analyzer-security.insecureAPI.strcpy, 185clang-analyzer-security.insecureAPI.vfork, 186clang-analyzer-unix.API, 187clang-analyzer-unix.DynamicMemoryModeling, 188clang-analyzer-unix.Malloc, 189clang-analyzer-unix.MallocSizeof, 190clang-analyzer-unix.MismatchedDeallocator, 191clang-analyzer-unix.Vfork, 192clang-analyzer-unix.cstring.BadSizeArg, 193clang-analyzer-unix.cstring.CStringModeling, 194clang-analyzer-unix.cstring.NullArg, 195clang-analyzer-valist.CopyToSelf, 196clang-analyzer-valist.Uninitialized, 197clang-analyzer-valist.Unterminated, 198clang-analyzer-valist.ValistBase, 199clang-analyzer-webkit.NoUncountedMemberChecker, 200clang-analyzer-webkit.RefCntblBaseVirtualDtor, 201cppcoreguidelines-avoid-c-arrays, 202cppcoreguidelines-avoid-goto, 203cppcoreguidelines-avoid-non-const-global-variables, 204cppcoreguidelines-c-copy-assignment-signature, 205cppcoreguidelines-explicit-virtual-functions, 206cppcoreguidelines-init-variables, 207cppcoreguidelines-macro-usage, 208cppcoreguidelines-narrowing-conversions, 209cppcoreguidelines-no-malloc, 210cppcoreguidelines-prefer-member-initializer, 211cppcoreguidelines-pro-bounds-array-to-pointer-decay, 212cppcoreguidelines-pro-bounds-pointer-arithmetic, 213cppcoreguidelines-pro-type-const-cast, 214cppcoreguidelines-pro-type-cstyle-cast, 215cppcoreguidelines-pro-type-member-init, 216cppcoreguidelines-pro-type-reinterpret-cast, 217cppcoreguidelines-pro-type-static-cast-downcast, 218cppcoreguidelines-pro-type-union-access, 219cppcoreguidelines-pro-type-vararg, 220cppcoreguidelines-slicing, 221cppcoreguidelines-special-member-functions, 222google-explicit-constructor, 223misc-misplaced-const, 224misc-redundant-expression, 225misc-static-assert, 226misc-throw-by-value-catch-by-reference, 227misc-unconventional-assign-operator, 228misc-uniqueptr-reset-release, 229misc-unused-using-decls, 230modernize-avoid-bind, 231modernize-deprecated-headers, 232modernize-deprecated-ios-base-aliases, 233modernize-loop-convert, 234modernize-make-shared, 235modernize-make-unique, 236modernize-raw-string-literal, 237modernize-replace-auto-ptr, 238modernize-replace-random-shuffle, 239modernize-return-braced-init-list, 240modernize-shrink-to-fit, 241modernize-unary-static-assert, 242modernize-use-bool-literals, 243modernize-use-default-member-init, 244modernize-use-emplace, 245modernize-use-equals-default, 246modernize-use-equals-delete, 247modernize-use-noexcept, 248modernize-use-nullptr, 249modernize-use-override, 250modernize-use-transparent-functors, 251modernize-use-uncaught-exceptions, 252modernize-use-using, 253performance-faster-string-find, 254performance-for-range-copy, 255performance-implicit-conversion-in-loop, 256performance-inefficient-algorithm, 257performance-inefficient-string-concatenation, 258performance-inefficient-vector-operation, 259performance-move-const-arg, 260performance-move-constructor-init, 261performance-no-automatic-move, 262performance-no-int-to-ptr, 263performance-noexcept-move-constructor, 264performance-trivially-destructible, 265performance-type-promotion-in-math-fn, 266performance-unnecessary-copy-initialization, 267performance-unnecessary-value-param, 268readability-avoid-const-params-in-decls, 269readability-braces-around-statements, 270readability-const-return-type, 271readability-container-size-empty, 272readability-convert-member-functions-to-static, 273readability-delete-null-pointer, 274readability-deleted-default, 275readability-else-after-return, 276readability-function-size, 277readability-identifier-naming, 278readability-implicit-bool-conversion, 279readability-inconsistent-declaration-parameter-name, 280readability-isolate-declaration, 281readability-make-member-function-const, 282readability-misleading-indentation, 283readability-misplaced-array-index, 284readability-named-parameter, 285readability-non-const-parameter, 286readability-qualified-auto, 287readability-redundant-access-specifiers, 288readability-redundant-control-flow, 289readability-redundant-declaration, 290readability-redundant-function-ptr-dereference, 291readability-redundant-member-init, 292readability-redundant-preprocessor, 293readability-redundant-smartptr-get, 294readability-redundant-string-cstr, 295readability-redundant-string-init, 296readability-simplify-boolean-expr, 297readability-simplify-subscript-expr, 298readability-static-accessed-through-instance, 299readability-static-definition-in-anonymous-namespace, 300readability-string-compare, 301readability-suspicious-call-argument, 302readability-uniqueptr-delete-release, 303readability-uppercase-literal-suffix' 304 305WarningsAsErrors: '*' 306HeaderFilterRegex: '.*' 307 308CheckOptions: 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 } 316