1489554a1SGeorge LiuChecks: ' -*, 2489554a1SGeorge Liubugprone-argument-comment, 3489554a1SGeorge Liubugprone-assert-side-effect, 4489554a1SGeorge Liubugprone-bad-signal-to-kill-thread, 5489554a1SGeorge Liubugprone-bool-pointer-implicit-conversion, 6489554a1SGeorge Liubugprone-branch-clone, 7489554a1SGeorge Liubugprone-copy-constructor-init, 8489554a1SGeorge Liubugprone-dangling-handle, 9489554a1SGeorge Liubugprone-dynamic-static-initializers, 10489554a1SGeorge Liubugprone-fold-init-type, 11489554a1SGeorge Liubugprone-forward-declaration-namespace, 12489554a1SGeorge Liubugprone-forwarding-reference-overload, 13489554a1SGeorge Liubugprone-implicit-widening-of-multiplication-result, 14489554a1SGeorge Liubugprone-inaccurate-erase, 15489554a1SGeorge Liubugprone-incorrect-roundings, 16489554a1SGeorge Liubugprone-infinite-loop, 17489554a1SGeorge Liubugprone-integer-division, 18489554a1SGeorge Liubugprone-lambda-function-name, 19489554a1SGeorge Liubugprone-macro-parentheses, 20489554a1SGeorge Liubugprone-macro-repeated-side-effects, 21489554a1SGeorge Liubugprone-misplaced-operator-in-strlen-in-alloc, 22489554a1SGeorge Liubugprone-misplaced-pointer-arithmetic-in-alloc, 23489554a1SGeorge Liubugprone-misplaced-widening-cast, 24489554a1SGeorge Liubugprone-move-forwarding-reference, 25489554a1SGeorge Liubugprone-multiple-statement-macro, 26489554a1SGeorge Liubugprone-narrowing-conversions, 27489554a1SGeorge Liubugprone-no-escape, 28489554a1SGeorge Liubugprone-not-null-terminated-result, 29489554a1SGeorge Liubugprone-parent-virtual-call, 30489554a1SGeorge Liubugprone-posix-return, 31489554a1SGeorge Liubugprone-redundant-branch-condition, 32489554a1SGeorge Liubugprone-signal-handler, 33489554a1SGeorge Liubugprone-signed-char-misuse, 34489554a1SGeorge Liubugprone-sizeof-container, 35489554a1SGeorge Liubugprone-sizeof-expression, 36489554a1SGeorge Liubugprone-spuriously-wake-up-functions, 37489554a1SGeorge Liubugprone-string-constructor, 38489554a1SGeorge Liubugprone-string-integer-assignment, 39489554a1SGeorge Liubugprone-string-literal-with-embedded-nul, 40489554a1SGeorge Liubugprone-suspicious-enum-usage, 41489554a1SGeorge Liubugprone-suspicious-include, 42489554a1SGeorge Liubugprone-suspicious-memset-usage, 43489554a1SGeorge Liubugprone-suspicious-missing-comma, 44489554a1SGeorge Liubugprone-suspicious-semicolon, 45489554a1SGeorge Liubugprone-suspicious-string-compare, 46489554a1SGeorge Liubugprone-swapped-arguments, 47489554a1SGeorge Liubugprone-terminating-continue, 48489554a1SGeorge Liubugprone-throw-keyword-missing, 49489554a1SGeorge Liubugprone-too-small-loop-variable, 50489554a1SGeorge Liubugprone-undefined-memory-manipulation, 51489554a1SGeorge Liubugprone-undelegated-constructor, 52489554a1SGeorge Liubugprone-unhandled-exception-at-new, 53489554a1SGeorge Liubugprone-unhandled-self-assignment, 54489554a1SGeorge Liubugprone-unused-raii, 55489554a1SGeorge Liubugprone-unused-return-value, 56489554a1SGeorge Liubugprone-use-after-move, 573e35b501SGeorge Liubugprone-virtual-near-miss, 583e35b501SGeorge Liucert-con36-c, 593e35b501SGeorge Liucert-con54-cpp, 603e35b501SGeorge Liucert-dcl03-c, 613e35b501SGeorge Liucert-dcl16-c, 623e35b501SGeorge Liucert-dcl21-cpp, 633e35b501SGeorge Liucert-dcl50-cpp, 643e35b501SGeorge Liucert-dcl54-cpp, 653e35b501SGeorge Liucert-dcl58-cpp, 663e35b501SGeorge Liucert-dcl59-cpp, 673e35b501SGeorge Liucert-err09-cpp, 683e35b501SGeorge Liucert-err34-c, 693e35b501SGeorge Liucert-err52-cpp, 703e35b501SGeorge Liucert-err60-cpp, 713e35b501SGeorge Liucert-err61-cpp, 723e35b501SGeorge Liucert-fio38-c, 733e35b501SGeorge Liucert-flp30-c, 743e35b501SGeorge Liucert-mem57-cpp, 753e35b501SGeorge Liucert-msc30-c, 763e35b501SGeorge Liucert-msc32-c, 773e35b501SGeorge Liucert-msc50-cpp, 783e35b501SGeorge Liucert-msc51-cpp, 793e35b501SGeorge Liucert-oop11-cpp, 803e35b501SGeorge Liucert-oop54-cpp, 813e35b501SGeorge Liucert-oop57-cpp, 823e35b501SGeorge Liucert-oop58-cpp, 833e35b501SGeorge Liucert-pos44-c, 843e35b501SGeorge Liucert-pos47-c, 853e35b501SGeorge Liucert-sig30-c, 86dcb01109SGeorge Liucert-str34-c, 87dcb01109SGeorge Liuclang-analyzer-apiModeling.StdCLibraryFunctions, 88dcb01109SGeorge Liuclang-analyzer-apiModeling.TrustNonnull, 89dcb01109SGeorge Liuclang-analyzer-apiModeling.google.GTest, 90dcb01109SGeorge Liuclang-analyzer-apiModeling.llvm.CastValue, 91dcb01109SGeorge Liuclang-analyzer-apiModeling.llvm.ReturnValue, 92dcb01109SGeorge Liuclang-analyzer-core.CallAndMessage, 93dcb01109SGeorge Liuclang-analyzer-core.CallAndMessageModeling, 94dcb01109SGeorge Liuclang-analyzer-core.DivideZero, 95dcb01109SGeorge Liuclang-analyzer-core.DynamicTypePropagation, 96dcb01109SGeorge Liuclang-analyzer-core.NonNullParamChecker, 97dcb01109SGeorge Liuclang-analyzer-core.NonnilStringConstants, 98dcb01109SGeorge Liuclang-analyzer-core.NullDereference, 99dcb01109SGeorge Liuclang-analyzer-core.StackAddrEscapeBase, 100dcb01109SGeorge Liuclang-analyzer-core.StackAddressEscape, 101dcb01109SGeorge Liuclang-analyzer-core.UndefinedBinaryOperatorResult, 102dcb01109SGeorge Liuclang-analyzer-core.VLASize, 103dcb01109SGeorge Liuclang-analyzer-core.builtin.BuiltinFunctions, 104dcb01109SGeorge Liuclang-analyzer-core.builtin.NoReturnFunctions, 105dcb01109SGeorge Liuclang-analyzer-core.uninitialized.ArraySubscript, 106dcb01109SGeorge Liuclang-analyzer-core.uninitialized.Assign, 107dcb01109SGeorge Liuclang-analyzer-core.uninitialized.Branch, 108dcb01109SGeorge Liuclang-analyzer-core.uninitialized.CapturedBlockVariable, 109dcb01109SGeorge Liuclang-analyzer-core.uninitialized.UndefReturn, 110dcb01109SGeorge Liuclang-analyzer-cplusplus.InnerPointer, 111dcb01109SGeorge Liuclang-analyzer-cplusplus.Move, 112dcb01109SGeorge Liuclang-analyzer-cplusplus.NewDelete, 113dcb01109SGeorge Liuclang-analyzer-cplusplus.NewDeleteLeaks, 114dcb01109SGeorge Liuclang-analyzer-cplusplus.PlacementNew, 115dcb01109SGeorge Liuclang-analyzer-cplusplus.PureVirtualCall, 116dcb01109SGeorge Liuclang-analyzer-cplusplus.SelfAssignment, 117dcb01109SGeorge Liuclang-analyzer-cplusplus.SmartPtrModeling, 118dcb01109SGeorge Liuclang-analyzer-cplusplus.VirtualCallModeling, 119dcb01109SGeorge Liuclang-analyzer-deadcode.DeadStores, 120dcb01109SGeorge Liuclang-analyzer-fuchsia.HandleChecker, 121dcb01109SGeorge Liuclang-analyzer-nullability.NullPassedToNonnull, 122dcb01109SGeorge Liuclang-analyzer-nullability.NullReturnedFromNonnull, 123dcb01109SGeorge Liuclang-analyzer-nullability.NullabilityBase, 124dcb01109SGeorge Liuclang-analyzer-nullability.NullableDereferenced, 125dcb01109SGeorge Liuclang-analyzer-nullability.NullablePassedToNonnull, 126dcb01109SGeorge Liuclang-analyzer-nullability.NullableReturnedFromNonnull, 127dcb01109SGeorge Liuclang-analyzer-optin.cplusplus.UninitializedObject, 128dcb01109SGeorge Liuclang-analyzer-optin.mpi.MPI-Checker, 129dcb01109SGeorge Liuclang-analyzer-optin.osx.OSObjectCStyleCast, 130dcb01109SGeorge Liuclang-analyzer-optin.osx.cocoa.localizability.EmptyLocalizationContextChecker, 131dcb01109SGeorge Liuclang-analyzer-optin.osx.cocoa.localizability.NonLocalizedStringChecker, 132dcb01109SGeorge Liuclang-analyzer-optin.performance.GCDAntipattern, 133dcb01109SGeorge Liuclang-analyzer-optin.performance.Padding, 134dcb01109SGeorge Liuclang-analyzer-optin.portability.UnixAPI, 135dcb01109SGeorge Liuclang-analyzer-osx.API, 136dcb01109SGeorge Liuclang-analyzer-osx.MIG, 137dcb01109SGeorge Liuclang-analyzer-osx.NSOrCFErrorDerefChecker, 138dcb01109SGeorge Liuclang-analyzer-osx.NumberObjectConversion, 139dcb01109SGeorge Liuclang-analyzer-osx.OSObjectRetainCount, 140dcb01109SGeorge Liuclang-analyzer-osx.ObjCProperty, 141dcb01109SGeorge Liuclang-analyzer-osx.SecKeychainAPI, 142dcb01109SGeorge Liuclang-analyzer-osx.cocoa.AtSync, 143dcb01109SGeorge Liuclang-analyzer-osx.cocoa.AutoreleaseWrite, 144dcb01109SGeorge Liuclang-analyzer-osx.cocoa.ClassRelease, 145dcb01109SGeorge Liuclang-analyzer-osx.cocoa.Dealloc, 146dcb01109SGeorge Liuclang-analyzer-osx.cocoa.IncompatibleMethodTypes, 147dcb01109SGeorge Liuclang-analyzer-osx.cocoa.Loops, 148dcb01109SGeorge Liuclang-analyzer-osx.cocoa.MissingSuperCall, 149dcb01109SGeorge Liuclang-analyzer-osx.cocoa.NSAutoreleasePool, 150dcb01109SGeorge Liuclang-analyzer-osx.cocoa.NSError, 151dcb01109SGeorge Liuclang-analyzer-osx.cocoa.NilArg, 152dcb01109SGeorge Liuclang-analyzer-osx.cocoa.NonNilReturnValue, 153dcb01109SGeorge Liuclang-analyzer-osx.cocoa.ObjCGenerics, 154dcb01109SGeorge Liuclang-analyzer-osx.cocoa.RetainCount, 155dcb01109SGeorge Liuclang-analyzer-osx.cocoa.RetainCountBase, 156dcb01109SGeorge Liuclang-analyzer-osx.cocoa.RunLoopAutoreleaseLeak, 157dcb01109SGeorge Liuclang-analyzer-osx.cocoa.SelfInit, 158dcb01109SGeorge Liuclang-analyzer-osx.cocoa.SuperDealloc, 159dcb01109SGeorge Liuclang-analyzer-osx.cocoa.UnusedIvars, 160dcb01109SGeorge Liuclang-analyzer-osx.cocoa.VariadicMethodTypes, 161dcb01109SGeorge Liuclang-analyzer-osx.coreFoundation.CFError, 162dcb01109SGeorge Liuclang-analyzer-osx.coreFoundation.CFNumber, 163dcb01109SGeorge Liuclang-analyzer-osx.coreFoundation.CFRetainRelease, 164dcb01109SGeorge Liuclang-analyzer-osx.coreFoundation.containers.OutOfBounds, 165dcb01109SGeorge Liuclang-analyzer-osx.coreFoundation.containers.PointerSizedValues, 166dcb01109SGeorge Liuclang-analyzer-security.FloatLoopCounter, 167dcb01109SGeorge Liuclang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling, 168dcb01109SGeorge Liuclang-analyzer-security.insecureAPI.SecuritySyntaxChecker, 169dcb01109SGeorge Liuclang-analyzer-security.insecureAPI.UncheckedReturn, 170dcb01109SGeorge Liuclang-analyzer-security.insecureAPI.bcmp, 171dcb01109SGeorge Liuclang-analyzer-security.insecureAPI.bcopy, 172dcb01109SGeorge Liuclang-analyzer-security.insecureAPI.bzero, 173dcb01109SGeorge Liuclang-analyzer-security.insecureAPI.decodeValueOfObjCType, 174dcb01109SGeorge Liuclang-analyzer-security.insecureAPI.getpw, 175dcb01109SGeorge Liuclang-analyzer-security.insecureAPI.gets, 176dcb01109SGeorge Liuclang-analyzer-security.insecureAPI.mkstemp, 177dcb01109SGeorge Liuclang-analyzer-security.insecureAPI.mktemp, 178dcb01109SGeorge Liuclang-analyzer-security.insecureAPI.rand, 179dcb01109SGeorge Liuclang-analyzer-security.insecureAPI.strcpy, 180dcb01109SGeorge Liuclang-analyzer-security.insecureAPI.vfork, 181dcb01109SGeorge Liuclang-analyzer-unix.API, 182dcb01109SGeorge Liuclang-analyzer-unix.DynamicMemoryModeling, 183dcb01109SGeorge Liuclang-analyzer-unix.Malloc, 184dcb01109SGeorge Liuclang-analyzer-unix.MallocSizeof, 185dcb01109SGeorge Liuclang-analyzer-unix.MismatchedDeallocator, 186dcb01109SGeorge Liuclang-analyzer-unix.Vfork, 187dcb01109SGeorge Liuclang-analyzer-unix.cstring.BadSizeArg, 188dcb01109SGeorge Liuclang-analyzer-unix.cstring.CStringModeling, 189dcb01109SGeorge Liuclang-analyzer-unix.cstring.NullArg, 190dcb01109SGeorge Liuclang-analyzer-valist.CopyToSelf, 191dcb01109SGeorge Liuclang-analyzer-valist.Uninitialized, 192dcb01109SGeorge Liuclang-analyzer-valist.Unterminated, 193dcb01109SGeorge Liuclang-analyzer-valist.ValistBase, 194dcb01109SGeorge Liuclang-analyzer-webkit.NoUncountedMemberChecker, 195ca8a7d6eSGeorge Liuclang-analyzer-webkit.RefCntblBaseVirtualDtor, 196ca8a7d6eSGeorge Liucppcoreguidelines-avoid-goto, 197ca8a7d6eSGeorge Liucppcoreguidelines-c-copy-assignment-signature, 198047d9944SGeorge Liucppcoreguidelines-explicit-virtual-functions, 199ca8a7d6eSGeorge Liucppcoreguidelines-narrowing-conversions, 200ca8a7d6eSGeorge Liucppcoreguidelines-no-malloc, 201ca8a7d6eSGeorge Liucppcoreguidelines-prefer-member-initializer, 202ca8a7d6eSGeorge Liucppcoreguidelines-pro-type-cstyle-cast, 203ca8a7d6eSGeorge Liucppcoreguidelines-pro-type-static-cast-downcast, 204ca8a7d6eSGeorge Liucppcoreguidelines-pro-type-union-access, 20566a54ad4SGeorge Liucppcoreguidelines-slicing, 206d9cc9399SGeorge Liucppcoreguidelines-special-member-functions, 207d9cc9399SGeorge Liumisc-misplaced-const, 208d9cc9399SGeorge Liumisc-redundant-expression, 209d9cc9399SGeorge Liumisc-static-assert, 210d9cc9399SGeorge Liumisc-throw-by-value-catch-by-reference, 211d9cc9399SGeorge Liumisc-unconventional-assign-operator, 212d9cc9399SGeorge Liumisc-uniqueptr-reset-release, 2136c86e631SGeorge Liumisc-unused-using-decls, 214a0f2cf7dSGeorge Liuperformance-faster-string-find, 2156c86e631SGeorge Liuperformance-for-range-copy, 2166c86e631SGeorge Liuperformance-implicit-conversion-in-loop, 2176c86e631SGeorge Liuperformance-inefficient-algorithm, 2186c86e631SGeorge Liuperformance-inefficient-string-concatenation, 219af025bcfSGeorge Liuperformance-inefficient-vector-operation, 2206c86e631SGeorge Liuperformance-move-const-arg, 2216c86e631SGeorge Liuperformance-move-constructor-init, 2226c86e631SGeorge Liuperformance-no-automatic-move, 2236c86e631SGeorge Liuperformance-no-int-to-ptr, 2246c86e631SGeorge Liuperformance-noexcept-move-constructor, 2256c86e631SGeorge Liuperformance-trivially-destructible, 2266c86e631SGeorge Liuperformance-type-promotion-in-math-fn, 227a31e568eSGeorge Liuperformance-unnecessary-copy-initialization, 228cb6bbfd4SGeorge Liuperformance-unnecessary-value-param, 229cb6bbfd4SGeorge Liureadability-avoid-const-params-in-decls, 230cb6bbfd4SGeorge Liureadability-braces-around-statements, 231cb6bbfd4SGeorge Liureadability-const-return-type, 232cb6bbfd4SGeorge Liureadability-container-size-empty, 233*80c2daaeSGeorge Liureadability-convert-member-functions-to-static, 234cb6bbfd4SGeorge Liureadability-delete-null-pointer, 235cb6bbfd4SGeorge Liureadability-deleted-default, 236cb6bbfd4SGeorge Liureadability-function-size, 237cb6bbfd4SGeorge Liureadability-identifier-naming, 238cb6bbfd4SGeorge Liureadability-isolate-declaration, 23971ae535cSGeorge Liureadability-make-member-function-const, 240cb6bbfd4SGeorge Liureadability-misleading-indentation, 241cb6bbfd4SGeorge Liureadability-misplaced-array-index, 242cb6bbfd4SGeorge Liureadability-named-parameter, 243cb6bbfd4SGeorge Liureadability-non-const-parameter, 244cb6bbfd4SGeorge Liureadability-redundant-access-specifiers, 245cb6bbfd4SGeorge Liureadability-redundant-function-ptr-dereference, 246cb6bbfd4SGeorge Liureadability-redundant-member-init, 247cb6bbfd4SGeorge Liureadability-redundant-preprocessor, 248cb6bbfd4SGeorge Liureadability-redundant-smartptr-get, 249cb6bbfd4SGeorge Liureadability-redundant-string-cstr, 250cb6bbfd4SGeorge Liureadability-simplify-boolean-expr, 251cb6bbfd4SGeorge Liureadability-simplify-subscript-expr, 252cb6bbfd4SGeorge Liureadability-static-accessed-through-instance, 253cb6bbfd4SGeorge Liureadability-static-definition-in-anonymous-namespace, 254a5205e40SGeorge Liureadability-string-compare, 255cb6bbfd4SGeorge Liureadability-suspicious-call-argument, 25622c2fbd8SGeorge Liureadability-uniqueptr-delete-release, 25722c2fbd8SGeorge Liureadability-uppercase-literal-suffix' 258489554a1SGeorge Liu 259489554a1SGeorge LiuWarningsAsErrors: '*' 260489554a1SGeorge LiuHeaderFilterRegex: '.*' 261