Home
last modified time | relevance | path

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

/freebsd/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.h783 template <typename NodeT> DynTypedNodeList getParents(const NodeT &Node);
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DRawPtrRefLocalVarsChecker.cpp120 for (DynTypedNodeList guardianAncestors = ctx.getParents(*MaybeGuardian); in isGuardedScopeEmbeddedInGuardianScope()
122 guardianAncestors = ctx.getParents( in isGuardedScopeEmbeddedInGuardianScope()
142 for (DynTypedNodeList guardedVarAncestors = ctx.getParents(*Guarded); in isGuardedScopeEmbeddedInGuardianScope()
144 guardedVarAncestors = ctx.getParents( in isGuardedScopeEmbeddedInGuardianScope()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DParentMapContext.cpp151 DynTypedNodeList getParents(TraversalKind TK, const DynTypedNode &Node) { in getParents() function in ParentMapContext::ParentMap
484 DynTypedNodeList ParentMapContext::getParents(const DynTypedNode &Node) { in getParents() function in ParentMapContext
489 return Parents->getParents(getTraversalKind(), Node); in getParents()
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/
H A DASTSelection.h102 ArrayRef<SelectedASTNode::ReferenceType> getParents() { return Parents; } in getParents() function
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DErrnoChecker.cpp74 const DynTypedNodeList Parents = ParentCtx.getParents(*S); in isInCondition()
H A DArrayBoundChecker.cpp805 const DynTypedNodeList Parents = ParentCtx.getParents(*S); in isInAddressOf()
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DClangDiagnosticsEmitter.cpp52 ArrayRef<const Record *> getParents(const Record *Group) { in getParents() function in __anonded1697c0111::DiagGroupParentMap
67 for (const Record *Parent : DiagGroupParents.getParents(Group)) { in getCategoryFromDiagGroup()
287 for (const Record *Parent : DiagGroupParents.getParents(Group)) in isSubGroupOfGroup()
327 for (const Record *Parent : DiagGroupParents.getParents(Group)) in markGroup()
380 DiagGroupParents.getParents(Group); in compute()
/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchFinder.cpp1125 for (const auto &Parent : ActiveASTContext->getParents(Node)) { in matchesParentOf()
1190 Parents = ActiveASTContext->getParents(Node); in matchesAnyAncestorOf()
1237 for (const auto &Parent : ActiveASTContext->getParents(Queue.front())) { in matchesAnyAncestorOf()
/freebsd/contrib/llvm-project/clang/lib/InstallAPI/
H A DVisitor.cpp257 for (const DynTypedNode &P : D->getASTContext().getParents(*M)) { in VisitFunctionDecl()
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h8388 const auto &Parents = Finder->getASTContext().getParents(Node); in AST_MATCHER_P()
8404 llvm::append_range(Stack, Finder->getASTContext().getParents(CurNode)); in AST_MATCHER_P()
8438 const auto &Parents = Finder->getASTContext().getParents(Node); in AST_MATCHER_P()
8470 llvm::append_range(Stack, Finder->getASTContext().getParents(CurNode)); in AST_MATCHER_P()
/freebsd/contrib/llvm-project/clang/include/clang/ExtractAPI/
H A DExtractAPIVisitor.h347 for (const auto &P : Context.getParents(*Method)) { in VisitFunctionDecl()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DUnsafeBufferUsage.cpp72 DynTypedNodeList StParents = Ctx.getParents(*St); in getDREAncestorString()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprScalar.cpp3010 for (const auto &Parent : Ctx.getParentMapContext().getParents(*UO)) in matchesPostDecrInWhile()