[cfe-dev] stable version of clang and other questions

Pushkar Ratnalikar pushkar.ratnalikar at gmail.com
Wed Jan 6 13:20:10 PST 2010


Hi,


>  4.  Is there is a way to see the AST? I found the option to emit it, but I
> did not find any way to read or view it


You can use the -ast-view or -ast-dump(pretty-printed) option for viewing
the AST.

for the stable release its "clang-cc -ast-dump <input.c>"

Regards,
Pushkar


On Wed, Jan 6, 2010 at 3:59 PM, Juan Carlos Martinez Santos <
juanc.martinez.santos at gmail.com> wrote:

> Hello cfe-dev,
>
> 1. I wonder if there is an stable version of clan, something different from
> the trunk. How I can get it?
>
> 2. There is an index or TOC for all the documentation in clang?
>
> 3. There is a document to collect the current options for clang and their
> use? I found some options available in the "Getting Started" web, but their
> are not visible in the help or help-hidden menu (-ast-print or
> -fomit-frame-pointer*)*
>
> 4.  Is there is a way to see the AST? I found the option to emit it, but I
> did not find any way to read or view it
>
>
> Thanks in advance,
>
> --
> Juan Carlos
>
> _______________________________________________
> 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/20100106/fc9c0c64/attachment.html>


More information about the cfe-dev mailing list