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

Function getFunctionScope

lib/valueflow.cpp:6629–6633  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6627}
6628
6629static const Scope* getFunctionScope(const Scope* scope) {
6630 while (scope && scope->type != ScopeType::eFunction)
6631 scope = scope->nestedIn;
6632 return scope;
6633}
6634
6635static void valueFlowContainerSize(const TokenList& tokenlist,
6636 const SymbolDatabase& symboldatabase,

Callers 1

valueFlowContainerSizeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected