[cfe-dev] Normalizing the AST across languages

Chris Lattner clattner at apple.com
Fri Oct 31 16:48:38 PDT 2008


On Oct 30, 2008, at 6:20 PM, Argiris Kirtzidis wrote:
>> I'm really starting to like the idea of just making FieldDecls into
>> ScopedDecls, and having the DeclContext associated with RecordType
>> store all of the declarations for name lookup. Auxiliary information
>> not found through normal lookup (base classes, constructors, etc.)
>> could still go into a CXXRecordDefInfo, of course. Does that seem
>> feasible to you?
>>
>
> Well, I love the idea, but Chris will probably freak out when he sees
> the FieldDecls getting bigger :-)

Yep, he's like that ;-).  That said, if it is a cleanup that makes the  
ASTs easier to manipulate and manage for C code also, I'd support  
doing it.

-Chris



More information about the cfe-dev mailing list