[LLVMdev] how to modify CLANG AST and to convert it back to C code
clattner at apple.com
Fri Nov 7 10:53:10 PST 2008
On Nov 7, 2008, at 6:40 AM, sac wrote:
> I am new to LLVM-CLANG. I want to do some transformations on CLANG
> generated AST and I want to convert it back to the C source code. Can
> anybody help me regarding this.
You should probably ask on the cfe-dev list for more details. The
short version of the answer is that you can choose to either use the
pretty printers, or the rewriters. Both have different tradeoffs.
More information about the llvm-dev