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

Method getTypeCheck

lib/library.cpp:2001–2005  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1999}
2000
2001Library::TypeCheck Library::getTypeCheck(std::string check, std::string typeName) const
2002{
2003 auto it = mData->mTypeChecks.find(std::pair<std::string, std::string>(std::move(check), std::move(typeName)));
2004 return it == mData->mTypeChecks.end() ? TypeCheck::def : it->second;
2005}
2006
2007bool Library::hasAnyTypeCheck(const std::string& typeName) const
2008{

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected