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

Method noOperatorEqError

lib/checkclass.cpp:645–648  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

643}
644
645void CheckClassImpl::noOperatorEqError(const Scope *scope, bool isdefault, const Token *alloc, bool inconclusive)
646{
647 reportError(alloc, Severity::warning, "noOperatorEq", noMemberErrorMessage(scope, "operator=", isdefault), CWE398, inconclusive ? Certainty::inconclusive : Certainty::normal);
648}
649
650void CheckClassImpl::noDestructorError(const Scope *scope, bool isdefault, const Token *alloc)
651{

Callers 1

getErrorMessagesMethod · 0.80

Calls 2

noMemberErrorMessageFunction · 0.85
reportErrorFunction · 0.70

Tested by

no test coverage detected