clang 22.0.0git
|
Classes | |
class | ASTVisitor |
A RecursiveASTVisitor that builds a map from nodes to their parents as defined by the RecursiveASTVisitor . More... |
Public Member Functions | |
ParentMap (ASTContext &Ctx) | |
~ParentMap () | |
DynTypedNodeList | getParents (TraversalKind TK, const DynTypedNode &Node) |
DynTypedNodeList | AscendIgnoreUnlessSpelledInSource (const Expr *E, const Expr *Child) |
Friends | |
template<typename, typename...> | |
struct | ::MatchParents |
Definition at line 60 of file ParentMapContext.cpp.
clang::ParentMapContext::ParentMap::ParentMap | ( | ASTContext & | Ctx | ) |
Definition at line 482 of file ParentMapContext.cpp.
References clang::RecursiveASTVisitor< Derived >::TraverseAST().
Referenced by clang::ParentMapContext::ParentMap::ASTVisitor::ASTVisitor().
|
inline |
Definition at line 134 of file ParentMapContext.cpp.
|
inline |
Definition at line 227 of file ParentMapContext.cpp.
References clang::C, clang::DynTypedNode::create(), and clang::isa().
Referenced by getParents().
|
inline |
Definition at line 151 of file ParentMapContext.cpp.
References AscendIgnoreUnlessSpelledInSource(), clang::DynTypedNode::create(), clang::DynTypedNode::get(), clang::DynTypedNode::getMemoizationData(), clang::DynTypedNode::getNodeKind(), clang::ASTNodeKind::hasPointerIdentity(), matchParents(), and clang::TK_IgnoreUnlessSpelledInSource.
|
friend |
Definition at line 62 of file ParentMapContext.cpp.
References contains().