[PATCH] D52157: [ASTMatchers] Let isArrow also support UnresolvedMemberExpr, CXXDependentScopeMemberExpr

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 17 07:12:28 PDT 2018


aaron.ballman accepted this revision.
aaron.ballman added a comment.
This revision is now accepted and ready to land.

LGTM, with a request for the documentation.



================
Comment at: include/clang/ASTMatchers/ASTMatchers.h:4698-4702
 ///   class Y {
 ///     void x() { this->x(); x(); Y y; y.x(); a; this->b; Y::b; }
 ///     int a;
 ///     static int b;
 ///   };
----------------
Can you update the example to show how this works on the new kinds of member expressions?


Repository:
  rC Clang

https://reviews.llvm.org/D52157





More information about the cfe-commits mailing list