[cfe-commits] [Request for approval] Allow clang library applications to get specializations
Argyrios Kyrtzidis
kyrtzidis at apple.com
Wed Jul 28 05:21:09 PDT 2010
On Jul 28, 2010, at 3:16 PM, Abramo Bagnara wrote:
> Il 27/07/2010 21:17, Peter Collingbourne ha scritto:
>> Argiris,
>>
>> Agreed. For consistency we can also have the FunctionTemplateDecl's
>> specialisation iterator produce FunctionDecls instead of
>> FunctionTemplateSpecializationInfos.
>>
>> I can work on a patch for this unless Abramo has an objection.
>
> I'm fine with this solution if all the infos from AST are again
> accessible using the iterator. This is the case if the iterator produce
> a FunctionDecl instead of FunctionTemplateSpecializationInfo?
Yes, you can use FunctionDecl's getTemplateSpecializationInfo().
-Argiris
More information about the cfe-commits
mailing list