[PATCH] Add support for Adaptative matchers on the dynamic registry.

Samuel Benzaquen sbenza at google.com
Wed Jul 24 06:58:08 PDT 2013



================
Comment at: include/clang/ASTMatchers/ASTMatchers.h:1712
@@ +1711,3 @@
+internal::ArgumentAdaptingMatcher<internal::HasParentMatcher, ParentT,
+                                  internal::TypeList<Decl, Stmt>,
+                                  internal::TypeList<Decl, Stmt> >
----------------
Manuel Klimek wrote:
> This will at least need Type, won't it? Same for hasAncestor.
I made the default list from matchesChildOf() and the this one from matchesAncestorOf(), copying the types they list in their TOOLING_COMPILE_ASSERT()


http://llvm-reviews.chandlerc.com/D1201



More information about the cfe-commits mailing list