Home
last modified time | relevance | path

Searched refs:getParents (Results 1 – 10 of 10) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DParentMapContext.h53 template <typename NodeT> DynTypedNodeList getParents(const NodeT &Node);
55 DynTypedNodeList getParents(const DynTypedNode &Node);
128 inline DynTypedNodeList ParentMapContext::getParents(const NodeT &Node) { in getParents() function
129 return getParents(DynTypedNode::create(Node)); in getParents()
133 inline DynTypedNodeList ASTContext::getParents(const NodeT &Node) { in getParents() function
134 return getParentMapContext().getParents(Node); in getParents()
138 inline DynTypedNodeList ASTContext::getParents(const DynTypedNode &Node) { in getParents() function
139 return getParentMapContext().getParents(Node); in getParents()
H A DASTContext.h637 template <typename NodeT> DynTypedNodeList getParents(const NodeT &Node);
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DUncountedLocalVarsChecker.cpp36 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()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DParentMapContext.cpp126 DynTypedNodeList getParents(TraversalKind TK, const DynTypedNode &Node) { in getParents() function in ParentMapContext::ParentMap
452 DynTypedNodeList ParentMapContext::getParents(const DynTypedNode &Node) { in getParents() function in ParentMapContext
457 return Parents->getParents(getTraversalKind(), Node); in getParents()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp372 auto Parents = Context.getParents(Loc); in VisitTypeLoc()
483 auto Parents = Context.getParents(Node); in getClosestAncestorDecl()
495 auto Parents = Context.getParents(Loc); in getParentTypeLoc()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Tooling/Refactoring/
H A DASTSelection.h101 ArrayRef<SelectedASTNode::ReferenceType> getParents() { return Parents; } in getParents() function
/netbsd-src/external/apache2/llvm/dist/clang/utils/TableGen/
H A DClangDiagnosticsEmitter.cpp56 const std::vector<Record*> &getParents(const Record *Group) { in getParents() function in __anon9ac437e70111::DiagGroupParentMap
71 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()
/netbsd-src/external/apache2/llvm/dist/clang/lib/ASTMatchers/
H A DASTMatchFinder.cpp904 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()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/
H A DASTMatchers.h7565 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()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/ASTDiff/
H A DASTDiff.cpp387 const auto &Parents = AST.getParents(*S); in getEnclosingDeclContext()