[cfe-dev] Output preprocessed files from Rewriter

Kihong Heo via cfe-dev cfe-dev at lists.llvm.org
Sun Aug 4 10:15:31 PDT 2019


Hi List,

I am using Rewriter to do some source-to-source transformation.
It seems that Rewriter basically outputs unpreprocessed source code. I am curious how I can output preprocessed code after my transformation.

Is there any functionality in Rewriter to print out preprocessed code?

I appreciate your help.

Best,
Kihong




More information about the cfe-dev mailing list