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

Method createScope

lib/clangimport.cpp:703–707  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

701}
702
703Scope *clangimport::AstNode::createScope(TokenList &tokenList, ScopeType scopeType, AstNodePtr astNode, const Token *def)
704{
705 std::vector<AstNodePtr> children2{std::move(astNode)};
706 return createScope(tokenList, scopeType, children2, def);
707}
708
709Scope *clangimport::AstNode::createScope(TokenList &tokenList, ScopeType scopeType, const std::vector<AstNodePtr> & children2, const Token *def)
710{

Callers

nothing calls this directly

Calls 15

containsFunction · 0.85
nextMethod · 0.80
variableMethod · 0.80
replaceVarDeclMethod · 0.80
scopeMethod · 0.80
defaultAccessMethod · 0.80
sizeMethod · 0.45
push_backMethod · 0.45
tokAtMethod · 0.45
nameTokenMethod · 0.45
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected