[cfe-dev] How can I get the template argument in a TypedefDecl ?
Yaron Keren
yaron.keren at gmail.com
Tue Aug 5 08:33:17 PDT 2014
I think you need to cast QT.getTypePtr() to a TemplateSpecializationType
and then process its TemplateArguments.
2014-08-05 18:23 GMT+03:00 Manasij Mukherjee <manasij7479 at gmail.com>:
> That gives me "A<B> identifier".
> (which could also be achieved with QT.getAsString(), afaik)
>
> I have the QualType for A<B>.
> But I have to get "B" from this somehow.
>
> Sorry if I was ambiguous about that.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140805/fc38b496/attachment.html>
More information about the cfe-dev
mailing list