[PATCH] Add support for type traversal matchers.
Manuel Klimek
klimek at google.com
Sun Jul 14 05:36:26 PDT 2013
lg
================
Comment at: include/clang/ASTMatchers/ASTMatchersInternal.h:1441
@@ +1440,3 @@
+/// \code Getter<OuterT>::value() \endcode returns a
+/// \code InnerTBase (OuterT::*)() \endcode, which is used to adapt a \c OuterT
+/// object into a \c InnerT
----------------
I think it's quite curious for the matchers that InnerTBase is returned by-value here (as that strongly limits what matchers this can be used with). I assume that was intentional?
I'm wondering whether there's a simpler solution hidden somewhere...
http://llvm-reviews.chandlerc.com/D1023
BRANCH
type_traversal
ARCANIST PROJECT
clang
More information about the cfe-commits
mailing list