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

Method isentrypoint

lib/library.cpp:2072–2075  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2070}
2071
2072bool Library::isentrypoint(const std::string &func) const
2073{
2074 return func == "main" || mData->mEntrypoints.find(func) != mData->mEntrypoints.end();
2075}
2076
2077const std::set<std::string>& Library::defines() const
2078{

Callers 5

nothrowThrowsMethod · 0.80
checkMethod · 0.80
analyseWholeProgramMethod · 0.80
isArrayArgFunction · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected