[PATCH] D19324: [ASTMatchers] new forEachOverriden matcher
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Tue May 17 05:58:34 PDT 2016
aaron.ballman accepted this revision.
aaron.ballman added a comment.
This revision is now accepted and ready to land.
LGTM, with one minor nit. Thank you for working on this!
================
Comment at: include/clang/ASTMatchers/ASTMatchers.h:3724
@@ +3723,3 @@
+ bool Matched = false;
+ for (const auto* Overridden : Node.overridden_methods()) {
+ BoundNodesTreeBuilder OverriddenBuilder(*Builder);
----------------
Nit: the * should bind to Overridden instead of auto. (May just want to clang-format the patch.)
http://reviews.llvm.org/D19324
More information about the cfe-commits
mailing list