[cfe-dev] using clang for C++ parsing and source-to-source translation

brdavs brdavs at yahoo.com
Fri Feb 26 14:54:22 PST 2010


I am interested in using clang libraries for parsing a subset
of C++ and then doing source-to-source translation.

Is there an example of how this can be achieved with clang libraries?
(parsing C++, constructing AST, resolving names, etc. and then walking AST tree and writing it out in, say, C)

Any pointers or suggestions are appreciated.



More information about the cfe-dev mailing list