Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DParentMapContext.h53 template <typename NodeT> DynTypedNodeList getParents(const NodeT &Node);
55 DynTypedNodeList getParents(const DynTypedNode &Node);
126 inline DynTypedNodeList ParentMapContext::getParents(const NodeT &Node) { in getParents() function
127 return getParents(DynTypedNode::create(Node)); in getParents()
131 inline DynTypedNodeList ASTContext::getParents(const NodeT &Node) { in getParents() function
132 return getParentMapContext().getParents(Node); in getParents()
136 inline DynTypedNodeList ASTContext::getParents(const DynTypedNode &Node) { in getParents() function
137 return getParentMapContext().getParents(Node); in getParents()
H A DASTContext.h687 template <typename NodeT> DynTypedNodeList getParents(const NodeT &Node);
/freebsd-14.2/contrib/llvm-project/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()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DParentMapContext.cpp126 DynTypedNodeList getParents(TraversalKind TK, const DynTypedNode &Node) { in getParents() function in ParentMapContext::ParentMap
459 DynTypedNodeList ParentMapContext::getParents(const DynTypedNode &Node) { in getParents() function in ParentMapContext
464 return Parents->getParents(getTraversalKind(), Node); in getParents()
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp373 auto Parents = Context.getParents(Loc); in VisitTypeLoc()
484 auto Parents = Context.getParents(Node); in getClosestAncestorDecl()
496 auto Parents = Context.getParents(Loc); in getParentTypeLoc()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/
H A DASTSelection.h102 ArrayRef<SelectedASTNode::ReferenceType> getParents() { return Parents; } in getParents() function
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DErrnoChecker.cpp75 const DynTypedNodeList Parents = ParentCtx.getParents(*S); in isInCondition()
H A DArrayBoundCheckerV2.cpp470 const DynTypedNodeList Parents = ParentCtx.getParents(*S); in isInAddressOf()
/freebsd-14.2/contrib/llvm-project/clang/utils/TableGen/
H A DClangDiagnosticsEmitter.cpp56 const std::vector<Record*> &getParents(const Record *Group) { in getParents() function in __anonece3ac720111::DiagGroupParentMap
71 const std::vector<Record*> &Parents = DiagGroupParents.getParents(Group); in getCategoryFromDiagGroup()
305 const std::vector<Record*> &Parents = DiagGroupParents.getParents(Group); in isSubGroupOfGroup()
350 const std::vector<Record*> &Parents = DiagGroupParents.getParents(Group); in markGroup()
408 const std::vector<Record*> &Parents = DiagGroupParents.getParents(Group); in compute()
/freebsd-14.2/contrib/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchFinder.cpp1123 for (const auto &Parent : ActiveASTContext->getParents(Node)) { in matchesParentOf()
1188 Parents = ActiveASTContext->getParents(Node); in matchesAnyAncestorOf()
1235 for (const auto &Parent : ActiveASTContext->getParents(Queue.front())) { in matchesAnyAncestorOf()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h8287 const auto &Parents = Finder->getASTContext().getParents(Node); in AST_MATCHER_P()
8303 llvm::append_range(Stack, Finder->getASTContext().getParents(CurNode)); in AST_MATCHER_P()
8337 const auto &Parents = Finder->getASTContext().getParents(Node); in AST_MATCHER_P()
8361 llvm::append_range(Stack, Finder->getASTContext().getParents(CurNode)); in AST_MATCHER_P()
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/ASTDiff/
H A DASTDiff.cpp386 const auto &Parents = AST.getParents(*S); in getEnclosingDeclContext()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/ExtractAPI/
H A DExtractAPIVisitor.h297 for (const auto &P : Context.getParents(*Method)) { in VisitFunctionDecl()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DUnsafeBufferUsage.cpp58 DynTypedNodeList StParents = Ctx.getParents(*St); in getDREAncestorString()