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