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

Function findScope

lib/symboldatabase.h:1381–1383  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1379
1380 const Scope *findScope(const Token *tok, const Scope *startScope) const;
1381 Scope *findScope(const Token *tok, Scope *startScope) {
1382 return const_cast<Scope *>(this->findScope(tok, static_cast<const Scope *>(startScope)));
1383 }
1384
1385 // cppcheck-suppress unusedFunction
1386 bool isVarId(nonneg int varid) const {

Callers 4

findNamespaceMethod · 0.85
findTypeInBaseMethod · 0.85

Calls 1

findScopeMethod · 0.45

Tested by

no test coverage detected