[cfe-dev] rewrite Stmts as originally written in source code

Olaf Krzikalla Olaf.Krzikalla at tu-dresden.de
Thu Jun 10 07:20:43 PDT 2010


Daniel Dunbar schrieb:
> Clang provides a rewriter framework that lets you put edits in, which
> otherwise maintain the original source, 
Hmm, that's not what I need. Sometimes the IntegerLiterals are cloned
nodes and I want to preserve their original appearance even then. I
thought this could be done by looking in the original source code with
the help of the source location infos. But atm it looks rather difficult.

Thanks anyway
Olaf





More information about the cfe-dev mailing list