|
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 30 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 104 of file ParentMapContext.cpp.
|
inline |
Definition at line 197 of file ParentMapContext.cpp.
References clang::C, clang::DynTypedNode::create(), and clang::isa().
Referenced by getParents().
|
inline |
Definition at line 121 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 32 of file ParentMapContext.cpp.
References contains().