[cfe-dev] Decls are not synonyms for the symbols they represent

Argiris Kirtzidis akyrtzi at gmail.com
Tue Sep 16 21:05:53 PDT 2008


Ted Kremenek wrote:
>
> My understanding was that with the combination of TypeSpecifiers and 
> DeclGroups, TranslationUnit would no longer have any direct reference 
> to a RecordDecl (and thus never own it).  Isn't this true?
>

Ah, never mind, I was under the impression that it was going to be 
something like this:

int x; -> DeclGroup
struct y; -> RecordDecl

but it will actually be like this ?:

int x; -> DeclGroup
struct y; -> DeclGroup

is this correct?



More information about the cfe-dev mailing list