How to generate code from Clang AST which is dumped in xml

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

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@gmail.com> writes: