Lines Matching full:parents
1 //===- ParentMapContext.cpp - Map of parents using DynTypedNode -*- C++ -*-===//
10 // multiple parents.
26 void ParentMapContext::clear() { Parents.reset(); } in clear()
63 /// Contains parents of a node.
85 /// Maps from a node to its parents. This is used for nodes that have
349 /// parents as defined by the \c RecursiveASTVisitor.
370 /// Parents is the parent storage (either PointerParents or OtherParents).
372 void addParent(MapNodeTy MapNode, MapTy *Parents) { in addParent() argument
386 auto &NodeOrVector = (*Parents)[MapNode]; in addParent()
420 MapTy *Parents) { in TraverseNode() argument
423 addParent(MapNode, Parents); in TraverseNode()
479 if (!Parents) in getParents()
482 Parents = std::make_unique<ParentMap>(ASTCtx); in getParents()
483 return Parents->getParents(getTraversalKind(), Node); in getParents()