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

Method getErrorMessages

lib/checkleakautovar.cpp:1287–1293  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1285}
1286
1287void CheckLeakAutoVar::getErrorMessages(ErrorLogger& errorLogger, const Settings &settings) const
1288{
1289 CheckLeakAutoVarImpl c(nullptr, settings, errorLogger);
1290 c.deallocReturnError(nullptr, nullptr, "p");
1291 c.configurationInfo(nullptr, { nullptr, VarInfo::USED }); // user configuration is needed to complete analysis
1292 c.doubleFreeError(nullptr, nullptr, "varname", 0);
1293}

Callers

nothing calls this directly

Calls 3

deallocReturnErrorMethod · 0.80
configurationInfoMethod · 0.80
doubleFreeErrorMethod · 0.80

Tested by

no test coverage detected