At Chandler's behest, I've uploaded this to Reitveld:
http://codereview.appspot.com/1700049/show . The latest patchset is very
similar to the one attached to the previous email, mostly 80-col and
comments, but one functional change to make TemplateArgumentLocHelper call
into the TypeLoc traversal.

Nick

On 3 July 2010 18:58, Nick Lewycky <[email protected]> wrote:

> This patch adds basic traversal support for TypeLoc's to the
> RecursiveASTVisitor. The way it works is that the Visit*TypeLoc methods will
> call the matching Visit*Type methods, permitting users to continue using
> their Type-based visitors while permitting overrides of the TypeLoc specific
> methods. Many of the traversals have FIXME comments attached where the
> existing Type traversal does something that isn't captured in the matching
> TypeLoc, we fall back to traversing Types in that case.
>
> In addition, 'TraverseDeclarationHelper' and
> 'TraverseClassTemplateSpecializationDecl' are modified to actually call into
> the TypeLoc versions instead of the Type versions.
>
> Please review!
>
> Nick
>
>
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to