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

Method isLeakIgnore

lib/library.cpp:1760–1766  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1758 return false;
1759}
1760bool Library::isLeakIgnore(const std::string& functionName) const
1761{
1762 const auto it = utils::as_const(mData->mFunctions).find(functionName);
1763 if (it != mData->mFunctions.cend())
1764 return it->second.leakignore;
1765 return false;
1766}
1767bool Library::isFunctionConst(const std::string& functionName, bool pure) const
1768{
1769 const auto it = utils::as_const(mData->mFunctions).find(functionName);

Callers 5

variableMethod · 0.80
checkStructVariableMethod · 0.80
checkScopeMethod · 0.80
functionCallMethod · 0.80

Calls 1

findMethod · 0.45

Tested by

no test coverage detected