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

Method unknownReturnValues

lib/library.cpp:1692–1698  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1690}
1691
1692std::vector<MathLib::bigint> Library::unknownReturnValues(const Token *ftok) const
1693{
1694 if (isNotLibraryFunction(ftok))
1695 return std::vector<MathLib::bigint>();
1696 const auto it = utils::as_const(mData->mUnknownReturnValues).find(getFunctionName(ftok));
1697 return (it == mData->mUnknownReturnValues.cend()) ? std::vector<MathLib::bigint>() : it->second;
1698}
1699
1700const Library::Function *Library::getFunction(const Token *ftok) const
1701{

Callers 1

Calls 1

findMethod · 0.45

Tested by

no test coverage detected