[cfe-commits] [PATCH][MS][Review request] - Microsoft C anonymous struct, second try

Abramo Bagnara abramo.bagnara at gmail.com
Fri Nov 5 03:49:35 PDT 2010


Il 05/11/2010 08:21, John McCall ha scritto:

> For top-level anonymous structs or unions, the first declaration in a NestedFieldDecl's chain would be a VarDecl;  otherwise it would be a FieldDecl.  In all cases, all the remaining decls would be FieldDecls.

It is not clear to me in which cases you get a VarDecl... isn't it
always the FieldDecl of an anonymous variable?



More information about the cfe-commits mailing list