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

Method runChecks

lib/checkmemoryleak.cpp:490–494  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

488}
489
490void CheckMemoryLeakInFunction::runChecks(const Tokenizer &tokenizer, ErrorLogger& errorLogger)
491{
492 CheckMemoryLeakInFunctionImpl checkMemoryLeak(&tokenizer, tokenizer.getSettings(), errorLogger);
493 checkMemoryLeak.checkReallocUsage();
494}
495
496void CheckMemoryLeakInFunction::getErrorMessages(ErrorLogger& e, const Settings &settings) const
497{

Callers

nothing calls this directly

Calls 3

checkReallocUsageMethod · 0.80
isCPPMethod · 0.80
checkMethod · 0.45

Tested by

no test coverage detected