[PATCH] D120185: [ASTMatchers] Output currently processing match and nodes on crash
Nathan James via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Feb 20 02:45:42 PST 2022
njames93 added inline comments.
================
Comment at: clang/lib/ASTMatchers/ASTMatchFinder.cpp:1536
void MatchFinder::match(const clang::DynTypedNode &Node, ASTContext &Context) {
internal::MatchASTVisitor Visitor(&Matchers, Options);
Visitor.set_active_ast_context(&Context);
----------------
Is there a precedent to instrument this function too. AFAIK this is only used when running 1 matcher on a predetermined node so doesn't have the same issues when debugging as below.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D120185/new/
https://reviews.llvm.org/D120185
More information about the cfe-commits
mailing list