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

Function findFunctionOf

lib/checkclass.cpp:1437–1445  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1435//---------------------------------------------------------------------------
1436
1437static const Scope* findFunctionOf(const Scope* scope)
1438{
1439 while (scope) {
1440 if (scope->type == ScopeType::eFunction)
1441 return scope->functionOf;
1442 scope = scope->nestedIn;
1443 }
1444 return nullptr;
1445}
1446
1447void CheckClassImpl::checkMemset()
1448{

Callers 1

checkMemsetMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected