[PATCH] Add support for type traversal matchers.
klimek at google.com
Sun Jul 14 05:36:26 PDT 2013
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...
More information about the cfe-commits