[cfe-dev] How to generate code from Clang AST which is dumped in xml

Guillaume Papin guillaume.papin at epitech.eu
Fri Jun 28 12:26:15 PDT 2013


Working on the XML dump is not recommended.

Please take a look at the following thread:
http://lists.cs.uiuc.edu/pipermail/cfe-dev/2013-March/028380.html

kk <techie.tawa at gmail.com> writes:

> Hi,
>
> I'm working on AST in xml format that Clang generates on some sample codes. 
>
> Is there a standard way of parsing this xml file, modifying it
> (instrumenting original source code) and then generate  instrumented code
> from the xml file. I don't see any reference/documentation in this regards. 
>
> Please suggest any links to relevant information or sample codes to get an
> idea from.
>
> Many Thanks
> K
>
>
>
> --
> View this message in context: http://clang-developers.42468.n3.nabble.com/How-to-generate-code-from-Clang-AST-which-is-dumped-in-xml-tp4032898.html
> Sent from the Clang Developers mailing list archive at Nabble.com.
>

-- 
Guillaume Papin




More information about the cfe-dev mailing list