[cfe-dev] Location/storage of AST

eyasu getahun eya.get at gmail.com
Thu Dec 8 01:56:11 PST 2011


Hello,

We can get AST after a number of clang's  semantical and syntactical
analysis on the source file. I would like to know where is the place that
stores the resulting AST's. Is there any database that can store the
intermediate results while parsing source files? Or is AST built on the fly
automatically without being stored anywhere? To clarify more, I can dump
AST for the given source code by using clang command. where is the source
of this dumped file? I guess, when running the dump command, it
automatically parse the source and and build AST on the fly and show the
result.  But am not sure. How someone able to capture AST if he/she needs
to transform it. I will be thankful for any clarification.

-- 
**eyasu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20111208/2719cdfd/attachment.html>


More information about the cfe-dev mailing list