[cfe-dev] Emit AST files

Nikola Smiljanic popizdeh at gmail.com
Fri Apr 17 04:53:31 PDT 2015


How are you invoking it? Note that -emit-ast is exposed through the driver
whereas -ast-dump isn't and needs to follow -cc1.

On Thu, Apr 16, 2015 at 8:30 AM, Bernardo Rufino <bermonruf at gmail.com>
wrote:

> Hi all,
>
> I wanted to emit AST files for later consumption by clang itself, I found
> the -emit-ast option on the internet but it seems not available in my local
> clang (3.6.0). I know I can dump the AST in text format, but can I feed it
> back to clang later to continue the compilation for instance?
>
> Thanks,
> --
> Bernardo Rufino
> bernardorufino.com.br <http://www.bernardorufino.com.br/>
>
> _______________________________________________
> 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/20150417/0499cac0/attachment.html>


More information about the cfe-dev mailing list