[cfe-dev] replacing Statement/Expression
Rajesh Karmani
rkumar8 at cs.uiuc.edu
Sun Aug 17 12:52:11 PDT 2008
Hello,
Is there a facility to replace a statement or an expression with another
in the AST? In the scenario that I am looking at, the text replacement
strategy doesn't work because after rewriting the child expression, when
I rewrite the parent expression it picks the child expressions from the
AST which do not reflect the "updated" child expression.
Thanks.
regards,
rajesh
More information about the cfe-dev
mailing list