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

Method getReallocId

lib/library.cpp:1315–1319  ·  view source on GitHub ↗

get reallocation id for function */

Source from the content-addressed store, hash-verified

1313
1314/** get reallocation id for function */
1315int Library::getReallocId(const Token *tok, int arg) const
1316{
1317 const Library::AllocFunc* af = getReallocFuncInfo(tok);
1318 return (af && af->arg == arg) ? af->groupId : 0;
1319}
1320
1321
1322const Library::ArgumentChecks * Library::getarg(const Token *ftok, int argnr) const

Callers 1

getReallocationTypeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected