[cfe-commits] [PATCH][MS][Review request] - Microsoft C anonymous struct, second try

John McCall rjmccall at apple.com
Fri Nov 12 18:25:16 PST 2010


On Nov 12, 2010, at 5:55 PM, Francois Pichet wrote:
> In VisitIndirectFieldDecl, I need to create a new IndirectFieldDecl
> instantiation where the chaining object will be replaced with
> NamedDecl pointing inside the instantiated template class.
> 
> How can I do that?
> I am looking for something like Decl*
> TemplateDeclInstantiator::GetInstantiatedDecl(Decl* pBaseDecl)

I think you're looking for Sema::FindInstantiatedDecl.

John.



More information about the cfe-commits mailing list