欢迎来到尧图网

客户服务 关于我们

您的位置:首页 > 新闻 > 资讯 > clang-tidy 检查清单 学习笔记2

clang-tidy 检查清单 学习笔记2

2024/10/30 16:06:57 来源:https://blog.csdn.net/Edidaughter/article/details/143360227  浏览:    关键词:clang-tidy 检查清单 学习笔记2

1. clang-tidy -list-checks

列出clang-tidy默认会开启的检查
root@ubuntu:/home/muten# clang-tidy -list-checks
Enabled checks:clang-analyzer-apiModeling.Errnoclang-analyzer-apiModeling.TrustNonnullclang-analyzer-apiModeling.TrustReturnsNonnullclang-analyzer-apiModeling.google.GTestclang-analyzer-apiModeling.llvm.CastValueclang-analyzer-apiModeling.llvm.ReturnValueclang-analyzer-core.BitwiseShiftclang-analyzer-core.CallAndMessageclang-analyzer-core.CallAndMessageModelingclang-analyzer-core.DivideZeroclang-analyzer-core.DynamicTypePropagationclang-analyzer-core.NonNullParamCheckerclang-analyzer-core.NonnilStringConstantsclang-analyzer-core.NullDereferenceclang-analyzer-core.StackAddrEscapeBaseclang-analyzer-core.StackAddressEscapeclang-analyzer-core.UndefinedBinaryOperatorResultclang-analyzer-core.VLASizeclang-analyzer-core.builtin.BuiltinFunctionsclang-analyzer-core.builtin.NoReturnFunctionsclang-analyzer-core.uninitialized.ArraySubscriptclang-analyzer-core.uninitialized.Assignclang-analyzer-core.uninitialized.Branchclang-analyzer-core.uninitialized.CapturedBlockVariableclang-analyzer-core.uninitialized.NewArraySizeclang-analyzer-core.uninitialized.UndefReturnclang-analyzer-cplusplus.InnerPointerclang-analyzer-cplusplus.Moveclang-analyzer-cplusplus.NewDeleteclang-analyzer-cplusplus.NewDeleteLeaksclang-analyzer-cplusplus.PlacementNewclang-analyzer-cplusplus.PureVirtualCallclang-analyzer-cplusplus.SelfAssignmentclang-analyzer-cplusplus.SmartPtrModelingclang-analyzer-cplusplus.StringCheckerclang-analyzer-cplusplus.VirtualCallModelingclang-analyzer-deadcode.DeadStoresclang-analyzer-fuchsia.HandleCheckerclang-analyzer-nullability.NullPassedToNonnullclang-analyzer-nullability.NullReturnedFromNonnullclang-analyzer-nullability.NullabilityBaseclang-analyzer-nullability.NullableDereferencedclang-analyzer-nullability.NullablePassedToNonnullclang-analyzer-nullability.NullableReturnedFromNonnullclang-analyzer-optin.core.EnumCastOutOfRangeclang-analyzer-optin.cplusplus.UninitializedObjectclang-analyzer-optin.cplusplus.VirtualCallclang-analyzer-optin.mpi.MPI-Checkerclang-analyzer-optin.osx.OSObjectCStyleCastclang-analyzer-optin.osx.cocoa.localizability.EmptyLocalizationContextCheckerclang-analyzer-optin.osx.cocoa.localizability.NonLocalizedStringCheckerclang-analyzer-optin.performance.GCDAntipatternclang-analyzer-optin.performance.Paddingclang-analyzer-optin.portability.UnixAPIclang-analyzer-osx.APIclang-analyzer-osx.MIGclang-analyzer-osx.NSOrCFErrorDerefCheckerclang-analyzer-osx.NumberObjectConversionclang-analyzer-osx.OSObjectRetainCountclang-analyzer-osx.ObjCPropertyclang-analyzer-osx.SecKeychainAPIclang-analyzer-osx.cocoa.AtSyncclang-analyzer-osx.cocoa.AutoreleaseWriteclang-analyzer-osx.cocoa.ClassReleaseclang-analyzer-osx.cocoa.Deallocclang-analyzer-osx.cocoa.IncompatibleMethodTypesclang-analyzer-osx.cocoa.Loopsclang-analyzer-osx.cocoa.MissingSuperCallclang-analyzer-osx.cocoa.NSAutoreleasePoolclang-analyzer-osx.cocoa.NSErrorclang-analyzer-osx.cocoa.NilArgclang-analyzer-osx.cocoa.NonNilReturnValueclang-analyzer-osx.cocoa.ObjCGenericsclang-analyzer-osx.cocoa.RetainCountclang-analyzer-osx.cocoa.RetainCountBaseclang-analyzer-osx.cocoa.RunLoopAutoreleaseLeakclang-analyzer-osx.cocoa.SelfInitclang-analyzer-osx.cocoa.SuperDeallocclang-analyzer-osx.cocoa.UnusedIvarsclang-analyzer-osx.cocoa.VariadicMethodTypesclang-analyzer-osx.coreFoundation.CFErrorclang-analyzer-osx.coreFoundation.CFNumberclang-analyzer-osx.coreFoundation.CFRetainReleaseclang-analyzer-osx.coreFoundation.containers.OutOfBoundsclang-analyzer-osx.coreFoundation.containers.PointerSizedValuesclang-analyzer-security.FloatLoopCounterclang-analyzer-security.cert.env.InvalidPtrclang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandlingclang-analyzer-security.insecureAPI.SecuritySyntaxCheckerclang-analyzer-security.insecureAPI.UncheckedReturnclang-analyzer-security.insecureAPI.bcmpclang-analyzer-security.insecureAPI.bcopyclang-analyzer-security.insecureAPI.bzeroclang-analyzer-security.insecureAPI.decodeValueOfObjCTypeclang-analyzer-security.insecureAPI.getpwclang-analyzer-security.insecureAPI.getsclang-analyzer-security.insecureAPI.mkstempclang-analyzer-security.insecureAPI.mktempclang-analyzer-security.insecureAPI.randclang-analyzer-security.insecureAPI.strcpyclang-analyzer-security.insecureAPI.vforkclang-analyzer-unix.APIclang-analyzer-unix.DynamicMemoryModelingclang-analyzer-unix.Errnoclang-analyzer-unix.Mallocclang-analyzer-unix.MallocSizeofclang-analyzer-unix.MismatchedDeallocatorclang-analyzer-unix.StdCLibraryFunctionsclang-analyzer-unix.Vforkclang-analyzer-unix.cstring.BadSizeArgclang-analyzer-unix.cstring.CStringModelingclang-analyzer-unix.cstring.NullArgclang-analyzer-valist.CopyToSelfclang-analyzer-valist.Uninitializedclang-analyzer-valist.Unterminatedclang-analyzer-valist.ValistBaseclang-analyzer-webkit.NoUncountedMemberCheckerclang-analyzer-webkit.RefCntblBaseVirtualDtorclang-analyzer-webkit.UncountedLambdaCapturesCheckerroot@ubuntu:/home/muten# 

2. clang-tidy -list-checks  -checks=* 

列出clang-tidy支持的所有检查清单
root@ubuntu:/home/muten# clang-tidy -list-checks  -checks=* 
Enabled checks:abseil-cleanup-ctadabseil-duration-additionabseil-duration-comparisonabseil-duration-conversion-castabseil-duration-divisionabseil-duration-factory-floatabseil-duration-factory-scaleabseil-duration-subtractionabseil-duration-unnecessary-conversionabseil-faster-strsplit-delimiterabseil-no-internal-dependenciesabseil-no-namespaceabseil-redundant-strcat-callsabseil-str-cat-appendabseil-string-find-startswithabseil-string-find-str-containsabseil-time-comparisonabseil-time-subtractionabseil-upgrade-duration-conversionsaltera-id-dependent-backward-branchaltera-kernel-name-restrictionaltera-single-work-item-barrieraltera-struct-pack-alignaltera-unroll-loopsandroid-cloexec-acceptandroid-cloexec-accept4android-cloexec-creatandroid-cloexec-dupandroid-cloexec-epoll-createandroid-cloexec-epoll-create1android-cloexec-fopenandroid-cloexec-inotify-initandroid-cloexec-inotify-init1android-cloexec-memfd-createandroid-cloexec-openandroid-cloexec-pipeandroid-cloexec-pipe2android-cloexec-socketandroid-comparison-in-temp-failure-retryboost-use-to-stringbugprone-argument-commentbugprone-assert-side-effectbugprone-assignment-in-if-conditionbugprone-bad-signal-to-kill-threadbugprone-bool-pointer-implicit-conversionbugprone-branch-clonebugprone-casting-through-voidbugprone-chained-comparisonbugprone-compare-pointer-to-member-virtual-functionbugprone-copy-constructor-initbugprone-dangling-handlebugprone-dynamic-static-initializersbugprone-easily-swappable-parametersbugprone-empty-catchbugprone-exception-escapebugprone-fold-init-typebugprone-forward-declaration-namespacebugprone-forwarding-reference-overloadbugprone-implicit-widening-of-multiplication-resultbugprone-inaccurate-erasebugprone-inc-dec-in-conditionsbugprone-incorrect-enable-ifbugprone-incorrect-roundingsbugprone-infinite-loopbugprone-integer-divisionbugprone-lambda-function-namebugprone-macro-parenthesesbugprone-macro-repeated-side-effectsbugprone-misplaced-operator-in-strlen-in-allocbugprone-misplaced-pointer-arithmetic-in-allocbugprone-misplaced-widening-castbugprone-move-forwarding-referencebugprone-multi-level-implicit-pointer-conversionbugprone-multiple-new-in-one-expressionbugprone-multiple-statement-macrobugprone-narrowing-conversionsbugprone-no-escapebugprone-non-zero-enum-to-bool-conversionbugprone-not-null-terminated-resultbugprone-optional-value-conversionbugprone-parent-virtual-callbugprone-posix-returnbugprone-redundant-branch-conditionbugprone-reserved-identifierbugprone-shared-ptr-array-mismatchbugprone-signal-handlerbugprone-signed-char-misusebugprone-sizeof-containerbugprone-sizeof-expressionbugprone-spuriously-wake-up-functionsbugprone-standalone-emptybugprone-string-constructorbugprone-string-integer-assignmentbugprone-string-literal-with-embedded-nulbugprone-stringview-nullptrbugprone-suspicious-enum-usagebugprone-suspicious-includebugprone-suspicious-memory-comparisonbugprone-suspicious-memset-usagebugprone-suspicious-missing-commabugprone-suspicious-realloc-usagebugprone-suspicious-semicolonbugprone-suspicious-string-comparebugprone-swapped-argumentsbugprone-switch-missing-default-casebugprone-terminating-continuebugprone-throw-keyword-missingbugprone-too-small-loop-variablebugprone-unchecked-optional-accessbugprone-undefined-memory-manipulationbugprone-undelegated-constructorbugprone-unhandled-exception-at-newbugprone-unhandled-self-assignmentbugprone-unique-ptr-array-mismatchbugprone-unsafe-functionsbugprone-unused-local-non-trivial-variablebugprone-unused-raiibugprone-unused-return-valuebugprone-use-after-movebugprone-virtual-near-misscert-con36-ccert-con54-cppcert-dcl03-ccert-dcl16-ccert-dcl21-cppcert-dcl37-ccert-dcl50-cppcert-dcl51-cppcert-dcl54-cppcert-dcl58-cppcert-dcl59-cppcert-env33-ccert-err09-cppcert-err33-ccert-err34-ccert-err52-cppcert-err58-cppcert-err60-cppcert-err61-cppcert-exp42-ccert-fio38-ccert-flp30-ccert-flp37-ccert-mem57-cppcert-msc24-ccert-msc30-ccert-msc32-ccert-msc33-ccert-msc50-cppcert-msc51-cppcert-msc54-cppcert-oop11-cppcert-oop54-cppcert-oop57-cppcert-oop58-cppcert-pos44-ccert-pos47-ccert-sig30-ccert-str34-cclang-analyzer-apiModeling.Errnoclang-analyzer-apiModeling.TrustNonnullclang-analyzer-apiModeling.TrustReturnsNonnullclang-analyzer-apiModeling.google.GTestclang-analyzer-apiModeling.llvm.CastValueclang-analyzer-apiModeling.llvm.ReturnValueclang-analyzer-core.BitwiseShiftclang-analyzer-core.CallAndMessageclang-analyzer-core.CallAndMessageModelingclang-analyzer-core.DivideZeroclang-analyzer-core.DynamicTypePropagationclang-analyzer-core.NonNullParamCheckerclang-analyzer-core.NonnilStringConstantsclang-analyzer-core.NullDereferenceclang-analyzer-core.StackAddrEscapeBaseclang-analyzer-core.StackAddressEscapeclang-analyzer-core.UndefinedBinaryOperatorResultclang-analyzer-core.VLASizeclang-analyzer-core.builtin.BuiltinFunctionsclang-analyzer-core.builtin.NoReturnFunctionsclang-analyzer-core.uninitialized.ArraySubscriptclang-analyzer-core.uninitialized.Assignclang-analyzer-core.uninitialized.Branchclang-analyzer-core.uninitialized.CapturedBlockVariableclang-analyzer-core.uninitialized.NewArraySizeclang-analyzer-core.uninitialized.UndefReturnclang-analyzer-cplusplus.InnerPointerclang-analyzer-cplusplus.Moveclang-analyzer-cplusplus.NewDeleteclang-analyzer-cplusplus.NewDeleteLeaksclang-analyzer-cplusplus.PlacementNewclang-analyzer-cplusplus.PureVirtualCallclang-analyzer-cplusplus.SelfAssignmentclang-analyzer-cplusplus.SmartPtrModelingclang-analyzer-cplusplus.StringCheckerclang-analyzer-cplusplus.VirtualCallModelingclang-analyzer-deadcode.DeadStoresclang-analyzer-fuchsia.HandleCheckerclang-analyzer-nullability.NullPassedToNonnullclang-analyzer-nullability.NullReturnedFromNonnullclang-analyzer-nullability.NullabilityBaseclang-analyzer-nullability.NullableDereferencedclang-analyzer-nullability.NullablePassedToNonnullclang-analyzer-nullability.NullableReturnedFromNonnullclang-analyzer-optin.core.EnumCastOutOfRangeclang-analyzer-optin.cplusplus.UninitializedObjectclang-analyzer-optin.cplusplus.VirtualCallclang-analyzer-optin.mpi.MPI-Checkerclang-analyzer-optin.osx.OSObjectCStyleCastclang-analyzer-optin.osx.cocoa.localizability.EmptyLocalizationContextCheckerclang-analyzer-optin.osx.cocoa.localizability.NonLocalizedStringCheckerclang-analyzer-optin.performance.GCDAntipatternclang-analyzer-optin.performance.Paddingclang-analyzer-optin.portability.UnixAPIclang-analyzer-osx.APIclang-analyzer-osx.MIGclang-analyzer-osx.NSOrCFErrorDerefCheckerclang-analyzer-osx.NumberObjectConversionclang-analyzer-osx.OSObjectRetainCountclang-analyzer-osx.ObjCPropertyclang-analyzer-osx.SecKeychainAPIclang-analyzer-osx.cocoa.AtSyncclang-analyzer-osx.cocoa.AutoreleaseWriteclang-analyzer-osx.cocoa.ClassReleaseclang-analyzer-osx.cocoa.Deallocclang-analyzer-osx.cocoa.IncompatibleMethodTypesclang-analyzer-osx.cocoa.Loopsclang-analyzer-osx.cocoa.MissingSuperCallclang-analyzer-osx.cocoa.NSAutoreleasePoolclang-analyzer-osx.cocoa.NSErrorclang-analyzer-osx.cocoa.NilArgclang-analyzer-osx.cocoa.NonNilReturnValueclang-analyzer-osx.cocoa.ObjCGenericsclang-analyzer-osx.cocoa.RetainCountclang-analyzer-osx.cocoa.RetainCountBaseclang-analyzer-osx.cocoa.RunLoopAutoreleaseLeakclang-analyzer-osx.cocoa.SelfInitclang-analyzer-osx.cocoa.SuperDeallocclang-analyzer-osx.cocoa.UnusedIvarsclang-analyzer-osx.cocoa.VariadicMethodTypesclang-analyzer-osx.coreFoundation.CFErrorclang-analyzer-osx.coreFoundation.CFNumberclang-analyzer-osx.coreFoundation.CFRetainReleaseclang-analyzer-osx.coreFoundation.containers.OutOfBoundsclang-analyzer-osx.coreFoundation.containers.PointerSizedValuesclang-analyzer-security.FloatLoopCounterclang-analyzer-security.cert.env.InvalidPtrclang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandlingclang-analyzer-security.insecureAPI.SecuritySyntaxCheckerclang-analyzer-security.insecureAPI.UncheckedReturnclang-analyzer-security.insecureAPI.bcmpclang-analyzer-security.insecureAPI.bcopyclang-analyzer-security.insecureAPI.bzeroclang-analyzer-security.insecureAPI.decodeValueOfObjCTypeclang-analyzer-security.insecureAPI.getpwclang-analyzer-security.insecureAPI.getsclang-analyzer-security.insecureAPI.mkstempclang-analyzer-security.insecureAPI.mktempclang-analyzer-security.insecureAPI.randclang-analyzer-security.insecureAPI.strcpyclang-analyzer-security.insecureAPI.vforkclang-analyzer-unix.APIclang-analyzer-unix.DynamicMemoryModelingclang-analyzer-unix.Errnoclang-analyzer-unix.Mallocclang-analyzer-unix.MallocSizeofclang-analyzer-unix.MismatchedDeallocatorclang-analyzer-unix.StdCLibraryFunctionsclang-analyzer-unix.Vforkclang-analyzer-unix.cstring.BadSizeArgclang-analyzer-unix.cstring.CStringModelingclang-analyzer-unix.cstring.NullArgclang-analyzer-valist.CopyToSelfclang-analyzer-valist.Uninitializedclang-analyzer-valist.Unterminatedclang-analyzer-valist.ValistBaseclang-analyzer-webkit.NoUncountedMemberCheckerclang-analyzer-webkit.RefCntblBaseVirtualDtorclang-analyzer-webkit.UncountedLambdaCapturesCheckerconcurrency-mt-unsafeconcurrency-thread-canceltype-asynchronouscppcoreguidelines-avoid-c-arrayscppcoreguidelines-avoid-capturing-lambda-coroutinescppcoreguidelines-avoid-const-or-ref-data-memberscppcoreguidelines-avoid-do-whilecppcoreguidelines-avoid-gotocppcoreguidelines-avoid-magic-numberscppcoreguidelines-avoid-non-const-global-variablescppcoreguidelines-avoid-reference-coroutine-parameterscppcoreguidelines-c-copy-assignment-signaturecppcoreguidelines-explicit-virtual-functionscppcoreguidelines-init-variablescppcoreguidelines-interfaces-global-initcppcoreguidelines-macro-to-enumcppcoreguidelines-macro-usagecppcoreguidelines-misleading-capture-default-by-valuecppcoreguidelines-missing-std-forwardcppcoreguidelines-narrowing-conversionscppcoreguidelines-no-malloccppcoreguidelines-no-suspend-with-lockcppcoreguidelines-noexcept-destructorcppcoreguidelines-noexcept-move-operationscppcoreguidelines-noexcept-swapcppcoreguidelines-non-private-member-variables-in-classescppcoreguidelines-owning-memorycppcoreguidelines-prefer-member-initializercppcoreguidelines-pro-bounds-array-to-pointer-decaycppcoreguidelines-pro-bounds-constant-array-indexcppcoreguidelines-pro-bounds-pointer-arithmeticcppcoreguidelines-pro-type-const-castcppcoreguidelines-pro-type-cstyle-castcppcoreguidelines-pro-type-member-initcppcoreguidelines-pro-type-reinterpret-castcppcoreguidelines-pro-type-static-cast-downcastcppcoreguidelines-pro-type-union-accesscppcoreguidelines-pro-type-varargcppcoreguidelines-rvalue-reference-param-not-movedcppcoreguidelines-slicingcppcoreguidelines-special-member-functionscppcoreguidelines-use-default-member-initcppcoreguidelines-virtual-class-destructordarwin-avoid-spinlockdarwin-dispatch-once-nonstaticfuchsia-default-arguments-callsfuchsia-default-arguments-declarationsfuchsia-header-anon-namespacesfuchsia-multiple-inheritancefuchsia-overloaded-operatorfuchsia-statically-constructed-objectsfuchsia-trailing-returnfuchsia-virtual-inheritancegoogle-build-explicit-make-pairgoogle-build-namespacesgoogle-build-using-namespacegoogle-default-argumentsgoogle-explicit-constructorgoogle-global-names-in-headersgoogle-objc-avoid-nsobject-newgoogle-objc-avoid-throwing-exceptiongoogle-objc-function-naminggoogle-objc-global-variable-declarationgoogle-readability-avoid-underscore-in-googletest-namegoogle-readability-braces-around-statementsgoogle-readability-castinggoogle-readability-function-sizegoogle-readability-namespace-commentsgoogle-readability-todogoogle-runtime-intgoogle-runtime-operatorgoogle-upgrade-googletest-casehicpp-avoid-c-arrayshicpp-avoid-gotohicpp-braces-around-statementshicpp-deprecated-headershicpp-exception-baseclasshicpp-explicit-conversionshicpp-function-sizehicpp-ignored-remove-resulthicpp-invalid-access-movedhicpp-member-inithicpp-move-const-arghicpp-multiway-paths-coveredhicpp-named-parameterhicpp-new-delete-operatorshicpp-no-array-decayhicpp-no-assemblerhicpp-no-mallochicpp-noexcept-movehicpp-signed-bitwisehicpp-special-member-functionshicpp-static-asserthicpp-undelegated-constructorhicpp-uppercase-literal-suffixhicpp-use-autohicpp-use-emplacehicpp-use-equals-defaulthicpp-use-equals-deletehicpp-use-noexcepthicpp-use-nullptrhicpp-use-overridehicpp-vararglinuxkernel-must-check-errsllvm-else-after-returnllvm-header-guardllvm-include-orderllvm-namespace-commentllvm-prefer-isa-or-dyn-cast-in-conditionalsllvm-prefer-register-over-unsignedllvm-qualified-autollvm-twine-localllvmlibc-callee-namespacellvmlibc-implementation-in-namespacellvmlibc-inline-function-declllvmlibc-restrict-system-libc-headersmisc-confusable-identifiersmisc-const-correctnessmisc-coroutine-hostile-raiimisc-definitions-in-headersmisc-header-include-cyclemisc-include-cleanermisc-misleading-bidirectionalmisc-misleading-identifiermisc-misplaced-constmisc-new-delete-overloadsmisc-no-recursionmisc-non-copyable-objectsmisc-non-private-member-variables-in-classesmisc-redundant-expressionmisc-static-assertmisc-throw-by-value-catch-by-referencemisc-unconventional-assign-operatormisc-uniqueptr-reset-releasemisc-unused-alias-declsmisc-unused-parametersmisc-unused-using-declsmisc-use-anonymous-namespacemodernize-avoid-bindmodernize-avoid-c-arraysmodernize-concat-nested-namespacesmodernize-deprecated-headersmodernize-deprecated-ios-base-aliasesmodernize-loop-convertmodernize-macro-to-enummodernize-make-sharedmodernize-make-uniquemodernize-pass-by-valuemodernize-raw-string-literalmodernize-redundant-void-argmodernize-replace-auto-ptrmodernize-replace-disallow-copy-and-assign-macromodernize-replace-random-shufflemodernize-return-braced-init-listmodernize-shrink-to-fitmodernize-type-traitsmodernize-unary-static-assertmodernize-use-automodernize-use-bool-literalsmodernize-use-constraintsmodernize-use-default-member-initmodernize-use-emplacemodernize-use-equals-defaultmodernize-use-equals-deletemodernize-use-nodiscardmodernize-use-noexceptmodernize-use-nullptrmodernize-use-overridemodernize-use-starts-ends-withmodernize-use-std-numbersmodernize-use-std-printmodernize-use-trailing-return-typemodernize-use-transparent-functorsmodernize-use-uncaught-exceptionsmodernize-use-usingmpi-buffer-derefmpi-type-mismatchobjc-assert-equalsobjc-avoid-nserror-initobjc-dealloc-in-categoryobjc-forbidden-subclassingobjc-missing-hashobjc-nsdate-formatterobjc-nsinvocation-argument-lifetimeobjc-property-declarationobjc-super-selfopenmp-exception-escapeopenmp-use-default-noneperformance-avoid-endlperformance-enum-sizeperformance-faster-string-findperformance-for-range-copyperformance-implicit-conversion-in-loopperformance-inefficient-algorithmperformance-inefficient-string-concatenationperformance-inefficient-vector-operationperformance-move-const-argperformance-move-constructor-initperformance-no-automatic-moveperformance-no-int-to-ptrperformance-noexcept-destructorperformance-noexcept-move-constructorperformance-noexcept-swapperformance-trivially-destructibleperformance-type-promotion-in-math-fnperformance-unnecessary-copy-initializationperformance-unnecessary-value-paramportability-restrict-system-includesportability-simd-intrinsicsportability-std-allocator-constreadability-avoid-const-params-in-declsreadability-avoid-nested-conditional-operatorreadability-avoid-return-with-void-valuereadability-avoid-unconditional-preprocessor-ifreadability-braces-around-statementsreadability-const-return-typereadability-container-containsreadability-container-data-pointerreadability-container-size-emptyreadability-convert-member-functions-to-staticreadability-delete-null-pointerreadability-duplicate-includereadability-else-after-returnreadability-function-cognitive-complexityreadability-function-sizereadability-identifier-lengthreadability-identifier-namingreadability-implicit-bool-conversionreadability-inconsistent-declaration-parameter-namereadability-isolate-declarationreadability-magic-numbersreadability-make-member-function-constreadability-misleading-indentationreadability-misplaced-array-indexreadability-named-parameterreadability-non-const-parameterreadability-operators-representationreadability-qualified-autoreadability-redundant-access-specifiersreadability-redundant-castingreadability-redundant-control-flowreadability-redundant-declarationreadability-redundant-function-ptr-dereferencereadability-redundant-inline-specifierreadability-redundant-member-initreadability-redundant-preprocessorreadability-redundant-smartptr-getreadability-redundant-string-cstrreadability-redundant-string-initreadability-reference-to-constructed-temporaryreadability-simplify-boolean-exprreadability-simplify-subscript-exprreadability-static-accessed-through-instancereadability-static-definition-in-anonymous-namespacereadability-string-comparereadability-suspicious-call-argumentreadability-uniqueptr-delete-releasereadability-uppercase-literal-suffixreadability-use-anyofallofzircon-temporary-objects
root@ubuntu:/home/muten#

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com