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

Method getAllocId

lib/library.cpp:1301–1305  ·  view source on GitHub ↗

get allocation id for function */

Source from the content-addressed store, hash-verified

1299
1300/** get allocation id for function */
1301int Library::getAllocId(const Token *tok, int arg) const
1302{
1303 const Library::AllocFunc* af = getAllocFuncInfo(tok);
1304 return (af && af->arg == arg) ? af->groupId : 0;
1305}
1306
1307/** get deallocation id for function */
1308int Library::getDeallocId(const Token *tok, int arg) const

Callers 1

getAllocationTypeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected