The attached patch fixed a glitch in RecursiveASTVisitor which for the time being has the behavior that for function template instantiation, the visitor would only traverse implicit instantiation while skipping explicit instantiations. I think the correct behavior would be both implicit and explicit instantiations are traversed while traversing function definitions.
PS. For the record, the code that enables RecursiveASTVisitor to optionally visit bodies of instantiations is introduced in revision 112848. Related discussions can be found in this (http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20100830/033977.html) thread. Cheers Michael
RecursiveASTVisitor.patch
Description: RecursiveASTVisitor.patch
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
