[PATCH] D76262: [NFC] Add UsedDeclVisitor

Yaxun Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 16 21:18:15 PDT 2020


yaxunl added inline comments.


================
Comment at: clang/lib/Sema/UsedDeclVisitor.h:43
+      asImpl().visitUsedDecl(E->getMemberLoc(), D);
+    }
+  }
----------------
rjmccall wrote:
> You need to recurse on the base expression here.  (And that's a good test case for your own patch!)
fixed


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D76262/new/

https://reviews.llvm.org/D76262





More information about the cfe-commits mailing list