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

Francois Pichet pichet2000 at gmail.com
Wed Dec 1 00:34:48 PST 2010


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;


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
All clang lit tests are passing.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: anon-ctor-init.patch
Type: application/octet-stream
Size: 30556 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20101201/c8a12b74/attachment.obj>

More information about the cfe-commits mailing list