popizdeh at gmail.com
Tue May 5 21:12:21 PDT 2015
+Richard should know that answer to that :)
On Fri, Apr 17, 2015 at 4:51 PM, Stephan Bergmann <sbergman at redhat.com>
> I naively assumed AST::Type::getAs<T>() would work regardless whether T
> represents sugar or not, and looking closer it is indeed specialized for
> TypedefType, TemplateSpecializationType, and AttributeType to make those
> work, but not for other sugar like SubstTemplateTypeParmType.
> For example, t->getAs<SubstTemplateTypeParmType>() does not work if t is a
> wrapping TypedefType (but happens to work if t itself already is a
> SubsTemplateTypeParmType). Is that intended?
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev