Home
last modified time | relevance | path

Searched refs:DynTypedNodeList (Results 1 – 8 of 8) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DParentMapContext.h21 class DynTypedNodeList; variable
53 template <typename NodeT> DynTypedNodeList getParents(const NodeT &Node);
55 DynTypedNodeList getParents(const DynTypedNode &Node);
92 class DynTypedNodeList {
100 DynTypedNodeList(const DynTypedNode &N) : IsSingleNode(true) { in DynTypedNodeList() function
104 DynTypedNodeList(ArrayRef<DynTypedNode> A) : IsSingleNode(false) { in DynTypedNodeList() function
126 inline DynTypedNodeList ParentMapContext::getParents(const NodeT &Node) { in getParents()
131 inline DynTypedNodeList ASTContext::getParents(const NodeT &Node) { in getParents()
136 inline DynTypedNodeList ASTContext::getParents(const DynTypedNode &Node) { in getParents()
H A DASTContext.h69 class DynTypedNodeList; variable
687 template <typename NodeT> DynTypedNodeList getParents(const NodeT &Node);
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DParentMapContext.cpp53 std::tuple<bool, DynTypedNodeList, const T *, const U *...>
54 matchParents(const DynTypedNodeList &NodeList,
171 return std::get<DynTypedNodeList>(AncestorNodes); in getParents()
180 return std::get<DynTypedNodeList>(AncestorNodes); in getParents()
187 return std::get<DynTypedNodeList>(AncestorNodes); in getParents()
194 return std::get<DynTypedNodeList>(AncestorNodes); in getParents()
270 match(const DynTypedNodeList &NodeList, in match()
292 static std::tuple<bool, DynTypedNodeList, const T *>
293 match(const DynTypedNodeList &NodeList, in match()
306 std::tuple<bool, DynTypedNodeList, const T *, const U *...>
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DUncountedLocalVarsChecker.cpp40 DynTypedNodeList grandParent = ASTCtx.getParents(*DS); in isDeclaredInForOrIf()
85 for (DynTypedNodeList guardianAncestors = ctx.getParents(*MaybeGuardian); in isGuardedScopeEmbeddedInGuardianScope()
107 for (DynTypedNodeList guardedVarAncestors = ctx.getParents(*Guarded); in isGuardedScopeEmbeddedInGuardianScope()
/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/lib/ASTMatchers/
H A DASTMatchFinder.cpp1168 DynTypedNodeList Parents{ArrayRef<DynTypedNode>()}; // after loop: size != 1 in matchesAnyAncestorOf()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DUnsafeBufferUsage.cpp58 DynTypedNodeList StParents = Ctx.getParents(*St); in getDREAncestorString()