[cfe-dev] Deleting Variable on the AST - Was: Future of AST transformation
maxodendahl at gmail.com
Fri Jul 27 00:33:25 PDT 2012
any idea on this one?
On Tue, Jul 24, 2012 at 8:48 AM, Maximilian Odendahl
<maxodendahl at gmail.com>wrote:
> > The way to deal with this is to perform your transformation from the
> >ASTConsumer::**HandleTranslationUnit callback. At that point, the entire
> >AST has been formed, but the Sema object is still alive and ready to >do
> I am jumping in here, as I am trying to do this exactly. I would now like
> to delete a global variable on the AST so it is gone when printing the AST
> later on. I understand it is not really a transformation, but any easy way
> to do this?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev