Hi..

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
All clang lit tests are passing.

Attachment: anon-ctor-init.patch
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to