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

Method getErrorMessages

lib/checkuninitvar.cpp:1807–1816  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1805}
1806
1807void CheckUninitVar::getErrorMessages(ErrorLogger& errorLogger, const Settings& settings) const
1808{
1809 CheckUninitVarImpl c(nullptr, settings, errorLogger);
1810
1811 ValueFlow::Value v{};
1812
1813 c.uninitvarError(nullptr, v); // TODO: does not produce any output
1814 c.uninitdataError(nullptr, "varname");
1815 c.uninitStructMemberError(nullptr, "a.b");
1816}

Callers

nothing calls this directly

Calls 3

uninitvarErrorMethod · 0.80
uninitdataErrorMethod · 0.80

Tested by

no test coverage detected