Home
last modified time | relevance | path

Searched refs:getParents (Results 1 – 12 of 12) 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.h710 template <typename NodeT> DynTypedNodeList getParents(const NodeT &Node);
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DUncountedLocalVarsChecker.cpp63 for (DynTypedNodeList guardianAncestors = ctx.getParents(*MaybeGuardian); in isGuardedScopeEmbeddedInGuardianScope()
65 guardianAncestors = ctx.getParents( in isGuardedScopeEmbeddedInGuardianScope()
85 for (DynTypedNodeList guardedVarAncestors = ctx.getParents(*Guarded); in isGuardedScopeEmbeddedInGuardianScope()
87 guardedVarAncestors = ctx.getParents( in isGuardedScopeEmbeddedInGuardianScope()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DParentMapContext.cpp145 DynTypedNodeList getParents(TraversalKind TK, const DynTypedNode &Node) { in getParents() function in ParentMapContext::ParentMap
478 DynTypedNodeList ParentMapContext::getParents(const DynTypedNode &Node) { in getParents() function in ParentMapContext
483 return Parents->getParents(getTraversalKind(), Node); in getParents()
/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.cpp75 const DynTypedNodeList Parents = ParentCtx.getParents(*S); in isInCondition()
H A DArrayBoundCheckerV2.cpp750 const DynTypedNodeList Parents = ParentCtx.getParents(*S); in isInAddressOf()
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DClangDiagnosticsEmitter.cpp56 const std::vector<Record*> &getParents(const Record *Group) { in getParents() function in __anonded1697c0111::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/contrib/llvm-project/clang/lib/InstallAPI/
H A DVisitor.cpp258 for (const DynTypedNode &P : D->getASTContext().getParents(*M)) { in VisitFunctionDecl()
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h8317 const auto &Parents = Finder->getASTContext().getParents(Node); in AST_MATCHER_P()
8333 llvm::append_range(Stack, Finder->getASTContext().getParents(CurNode)); in AST_MATCHER_P()
8367 const auto &Parents = Finder->getASTContext().getParents(Node); in AST_MATCHER_P()
8399 llvm::append_range(Stack, Finder->getASTContext().getParents(CurNode)); in AST_MATCHER_P()
/freebsd/contrib/llvm-project/clang/include/clang/ExtractAPI/
H A DExtractAPIVisitor.h332 for (const auto &P : Context.getParents(*Method)) { in VisitFunctionDecl()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DUnsafeBufferUsage.cpp66 DynTypedNodeList StParents = Ctx.getParents(*St); in getDREAncestorString()