MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / noCopyConstructorError

Method noCopyConstructorError

lib/checkclass.cpp:640–643  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

638}
639
640void CheckClassImpl::noCopyConstructorError(const Scope *scope, bool isdefault, const Token *alloc, bool inconclusive)
641{
642 reportError(alloc, Severity::warning, "noCopyConstructor", noMemberErrorMessage(scope, "copy constructor", isdefault), CWE398, inconclusive ? Certainty::inconclusive : Certainty::normal);
643}
644
645void CheckClassImpl::noOperatorEqError(const Scope *scope, bool isdefault, const Token *alloc, bool inconclusive)
646{

Callers 1

getErrorMessagesMethod · 0.80

Calls 2

noMemberErrorMessageFunction · 0.85
reportErrorFunction · 0.70

Tested by

no test coverage detected