[cfe-dev] Cleaning up the representation of Decls in the AST

Argiris Kirtzidis akyrtzi at gmail.com
Fri Sep 12 07:39:51 PDT 2008


Zhongxing Xu wrote:
> As types are uniqued, how do we differentiate 'struct s a;' from 
> 'struct s { int d; } x;' in the AST?
> Use RecordTypeDef and RecordType?

Yes, more specifically RecordTypeDef and RecordTypeRef.

-Argiris



More information about the cfe-dev mailing list