[cfe-commits] [PATCH][Review request] - Anonymous union/struct redesign, constructor init list.

John McCall rjmccall at apple.com
Fri Dec 3 21:13:09 PST 2010


On Dec 1, 2010, at 12:34 AM, Francois Pichet wrote:
> This is another patch regarding the anonymous redesign.
> The essence of this patch is to replace:
> 
> class CXXBaseOrMemberInitializer {
>  llvm::PointerUnion<TypeSourceInfo *, FieldDecl *> BaseOrMember;
>  FieldDecl *AnonUnionMember;
>  //..
> }
> 
> with
> 
> class CXXBaseOrMemberInitializer {
> llvm::PointerUnion3<TypeSourceInfo *, FieldDecl *, IndirectFieldDecl
> *> BaseOrMember;
>  //..
> }
> 
> and all the appropriate related code.
> 
> I am not done yet with this anonymous redesign but I think this patch
> mark a milestone so I post it for review

Sorry for the delay.  This looks good, go ahead.

John.



More information about the cfe-commits mailing list