[cfe-dev] AST transformations
sebastian.redl at getdesigned.at
Fri Mar 11 04:46:35 CST 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.
More information about the cfe-dev