Statement replacement

I work with clang as a source-to-source translator myself, and typically use its Rewriter class to modify statements in the clang buffer representing the original code. At the end of the translation unit I just print out the “rewritten text” as reported by the Rewriter.

–John