On Wed, May 9, 2012 at 3:29 PM, Daniel Jasper <[email protected]> wrote:

> Explicit class instantiations and explicit function instantiations are
> currently handled differently on the AST level in that the former create a
> dedicated AST entry in the TU decl context whereas the latter do not. This
> inconsistency currently leads to the RecursiveASTVisitor not visiting
> explicit function instantiations. The right solution is probably to create
> a dedicated node (e.g. ExplicitInstantiationDecl) and add a node of this
> type for any case of explicit instantiations (thoughts?).


This seems like a good direction to me.


> However, as this is an elaborate change, I propose this short-term fix
> making the RecursiveASTVisitor visit the corresponding explicit function
> instantiations.


I've committed the short-term fix as r156522, thanks.
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to