[clang] [ASTMatchers] Reduce per-matcher, per-node traversal kind overhead (PR #228960)
Nico Weber via cfe-commits
cfe-commits at lists.llvm.org
Sun Oct 4 18:38:18 PDT 2026
nico wrote:
The thing to look at when reviewing is `ParentMapContext::traverseIgnored(Expr *E)` in clang/lib/AST/ParentMapContext.cpp.
This was a decent win for a chromium build before we made our plugins no longer build parent maps. Now it doesn't help much there, but it does help clang-tidy a fair bit, and it's a small and straightforward patch, so I figured I'd send it out.
https://github.com/llvm/llvm-project/pull/228960
More information about the cfe-commits
mailing list