[cfe-dev] AST transformations

Olaf Krzikalla Olaf.Krzikalla at tu-dresden.de
Fri Mar 11 05:43:09 PST 2011


Am 11.03.2011 11:46, schrieb Sebastian Redl:
> 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.
Maybe you already can sense the response: do implicit conversion 
sequences belong to an AST at all? Of course, this doesn't solve the 
particular issue. However thinking about the concepts might point in the 
right direction.

Best Olaf



More information about the cfe-dev mailing list