Searched refs:getParents (Results 1 – 10 of 10) sorted by relevance
53 template <typename NodeT> DynTypedNodeList getParents(const NodeT &Node);55 DynTypedNodeList getParents(const DynTypedNode &Node);128 inline DynTypedNodeList ParentMapContext::getParents(const NodeT &Node) { in getParents() function129 return getParents(DynTypedNode::create(Node)); in getParents()133 inline DynTypedNodeList ASTContext::getParents(const NodeT &Node) { in getParents() function134 return getParentMapContext().getParents(Node); in getParents()138 inline DynTypedNodeList ASTContext::getParents(const DynTypedNode &Node) { in getParents() function139 return getParentMapContext().getParents(Node); in getParents()
637 template <typename NodeT> DynTypedNodeList getParents(const NodeT &Node);
36 auto parent = ASTCtx.getParents(*Var); in isDeclaredInForOrIf()40 DynTypedNodeList grandParent = ASTCtx.getParents(*DS); in isDeclaredInForOrIf()85 for (DynTypedNodeList guardianAncestors = ctx.getParents(*MaybeGuardian); in isGuardedScopeEmbeddedInGuardianScope()87 guardianAncestors = ctx.getParents( in isGuardedScopeEmbeddedInGuardianScope()107 for (DynTypedNodeList guardedVarAncestors = ctx.getParents(*Guarded); in isGuardedScopeEmbeddedInGuardianScope()109 guardedVarAncestors = ctx.getParents( in isGuardedScopeEmbeddedInGuardianScope()
126 DynTypedNodeList getParents(TraversalKind TK, const DynTypedNode &Node) { in getParents() function in ParentMapContext::ParentMap452 DynTypedNodeList ParentMapContext::getParents(const DynTypedNode &Node) { in getParents() function in ParentMapContext457 return Parents->getParents(getTraversalKind(), Node); in getParents()
372 auto Parents = Context.getParents(Loc); in VisitTypeLoc()483 auto Parents = Context.getParents(Node); in getClosestAncestorDecl()495 auto Parents = Context.getParents(Loc); in getParentTypeLoc()
101 ArrayRef<SelectedASTNode::ReferenceType> getParents() { return Parents; } in getParents() function
56 const std::vector<Record*> &getParents(const Record *Group) { in getParents() function in __anon9ac437e70111::DiagGroupParentMap71 const std::vector<Record*> &Parents = DiagGroupParents.getParents(Group); in getCategoryFromDiagGroup()302 const std::vector<Record*> &Parents = DiagGroupParents.getParents(Group); in isSubGroupOfGroup()347 const std::vector<Record*> &Parents = DiagGroupParents.getParents(Group); in markGroup()406 const std::vector<Record*> &Parents = DiagGroupParents.getParents(Group); in compute()
904 for (const auto &Parent : ActiveASTContext->getParents(Node)) { in matchesParentOf()969 Parents = ActiveASTContext->getParents(Node); in matchesAnyAncestorOf()1016 for (const auto &Parent : ActiveASTContext->getParents(Queue.front())) { in matchesAnyAncestorOf()
7565 const auto &Parents = Finder->getASTContext().getParents(Node); in AST_MATCHER_P()7581 for (const auto &Parent : Finder->getASTContext().getParents(CurNode)) in AST_MATCHER_P()7616 const auto &Parents = Finder->getASTContext().getParents(Node); in AST_MATCHER_P()7640 for (const auto &Parent : Finder->getASTContext().getParents(CurNode)) in AST_MATCHER_P()
387 const auto &Parents = AST.getParents(*S); in getEnclosingDeclContext()