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

Method hasAllocation

lib/checkclass.cpp:1859–1862  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1857}
1858
1859bool CheckClassImpl::hasAllocation(const Function *func, const Scope* scope) const
1860{
1861 return hasAllocation(func, scope, func->functionScope->bodyStart, func->functionScope->bodyEnd);
1862}
1863
1864bool CheckClassImpl::hasAllocation(const Function *func, const Scope* scope, const Token *start, const Token *end) const
1865{

Callers

nothing calls this directly

Calls 4

nextMethod · 0.80
getAllocFuncInfoMethod · 0.80
getDeallocFuncInfoMethod · 0.80
tokAtMethod · 0.45

Tested by

no test coverage detected