Lines Matching full:parents
1 //===- ParentMapContext.cpp - Map of parents using DynTypedNode -*- C++ -*-===//
10 // multiple parents.
26 void ParentMapContext::clear() { Parents.reset(); }
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) {
386 auto &NodeOrVector = (*Parents)[MapNode];
420 MapTy *Parents) {
423 addParent(MapNode, Parents);
479 if (!Parents)
482 Parents = std::make_unique<ParentMap>(ASTCtx);
483 return Parents->getParents(getTraversalKind(), Node);