Hi,<br><br>any idea on this one?<br><br>Thx,<br>Max<br><br><div class="gmail_quote">On Tue, Jul 24, 2012 at 8:48 AM, Maximilian Odendahl <span dir="ltr"><<a href="mailto:maxodendahl@gmail.com" target="_blank">maxodendahl@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
> The way to deal with this is to perform your transformation from the<br>
>ASTConsumer::<u></u>HandleTranslationUnit callback. At that point, the entire<br>
>AST has been formed, but the Sema object is still alive and ready to >do stuff.<br>
<br>
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?<br>

<br>
Best,<br>
Max<br>
</blockquote></div><br>