[cfe-dev] preferred way to translate and output source code?
Lou Wynn via cfe-dev
cfe-dev at lists.llvm.org
Tue Oct 23 01:59:25 PDT 2018
I'm writing a source to source translation tool which accepts Clang AST
and outputs source code of another language. My original plan was to
traverse the AST of a translation unit and outputs corresponding source
code of the target language, but I've noticed that there is a Rewriter
and I'm not sure if the Rewriter works for my purpose.
I've just started using Clang AST, and I appreciate any suggestion and
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev