[cfe-dev] AST transformations

Sebastian Redl sebastian.redl at getdesigned.at
Fri Mar 11 02:46:35 PST 2011


On 11.03.2011 11:02, Olaf Krzikalla wrote:
> Why should I have to deal with Sema at all? AST transformation and
> rewriting don't care about Sema.
In C++, there's very little that doesn't care about Sema. Any rewrite 
could require new implicit conversion sequences to be calculated, and 
unless you want to reimplement that code, you need to go through Sema.

There are, without doubt, several things that you can do without 
bothering Sema, but I believe that they are very limited in scope.

Sebastian



More information about the cfe-dev mailing list