[AST] Multiple declaration

Hi,

I have a question about something in AST which I found to be kind of awkward. When I have in my code:

typedef bla1, bla2, bla3;

or

typedef bla1;
typedef bla2;

typedef bla3;

the AST is the same for both possibilities. Why multiple declaration in one typedef has no DeclStmt as a parent? It has DeclStmt parent only if typedef is inside of a function. Is there any other way to check if declaration is single or not?

Regards,

Krystyna Gajczyk