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

Method getScope

lib/clangimport.cpp:300–303  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

298 }
299
300 const Scope *getScope(const std::string &addr) {
301 auto it = mDeclMap.find(addr);
302 return (it == mDeclMap.end() ? nullptr : it->second.scope);
303 }
304
305 // "}" tokens that are not end-of-scope
306 std::set<Token *> mNotScope;

Callers 1

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected