<div dir="ltr">> Presumably this means that "typedef struct x foo, bar" would be a<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

> DeclGroup with no "TypeDecl" but with two typedef decls?<br>
<br>
The "TypeDecl" would be 'struct x'.<br>
<br>
The DeclGroup would contain two TypedefDecls, one for the typedef of<br>
foo and the other for the typedef of bar.<br>
<div><div class="Wj3C7c"></div></div></blockquote><div><br>I think this requires some elaboration: The representation here depends on how we <br>are handling multiple RecordDecls. If the 'struct x' in the typedef generates a new <br>
RecordDecl for a forward reference then it would own this Decl, and the DeclGroup<br>would point to it. If the 'struct x' in the typedef does not generate a new RecordDecl<br>then it would be NULL.<br><br>In either situation the contained list of Decls would include two TypedefDecls.<br>
<br> - Daniel<br><br></div></div></div>