[cfe-dev] Final AST

Manuel Klimek klimek at google.com
Mon Jun 17 00:35:04 PDT 2013


On Fri, Jun 14, 2013 at 1:39 PM, Lukas Vogel <lukedirtwalkerdev at gmail.com>wrote:

> Hi,
>
> I'm currently writing a Tool using libtooling & RecursiveAstVisitor.
> In the AST I come across quite a lot of Unresolved expressions and I
> looked through the documentation of UnresolvedMemberExpr
> [UnresolvedMemberExpr]<http://clang.llvm.org/doxygen/classclang_1_1UnresolvedMemberExpr.html#details> there
> it says that those nodes will be resolved in the final AST.
> Is there any possibility to get this final AST and run the tool over this?
> Or to what does this refer?
>

The AST you see with libtooling should be the final AST :) Are you running
over incomplete code (that is, code that doesn't compile)?

Can you paste a reproduction?

Thanks,
/Manuel


>
> Thanks for clarification.
> Cheers,
> Lukas
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130617/106a6b11/attachment.html>


More information about the cfe-dev mailing list