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

Method getDeallocId

lib/library.cpp:1308–1312  ·  view source on GitHub ↗

get deallocation id for function */

Source from the content-addressed store, hash-verified

1306
1307/** get deallocation id for function */
1308int Library::getDeallocId(const Token *tok, int arg) const
1309{
1310 const Library::AllocFunc* af = getDeallocFuncInfo(tok);
1311 return (af && af->arg == arg) ? af->groupId : 0;
1312}
1313
1314/** get reallocation id for function */
1315int Library::getReallocId(const Token *tok, int arg) const

Callers 1

getDeallocationTypeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected