[PATCH] D113575: Add `isInitCapture` and `forEachLambdaCapture` matchers.
Yitzhak Mandelbaum via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 12 08:26:52 PST 2021
ymandel accepted this revision.
ymandel added inline comments.
This revision is now accepted and ready to land.
================
Comment at: clang/include/clang/ASTMatchers/ASTMatchers.h:4235
+ for (const auto &Capture : Node.captures()) {
+ if (Finder->isTraversalIgnoringImplicitNodes() && Capture.isImplicit())
+ continue;
----------------
nice catch! i would have overlooked that detail.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D113575/new/
https://reviews.llvm.org/D113575
More information about the cfe-commits
mailing list