[cfe-commits] [Patch][Review] Bug 13329 - Incorrect code generated for automatic assignment operator

Jonathan Sauer jonathan.sauer at gmx.de
Sat Jul 28 07:19:13 PDT 2012


Ping? If the patch is ok, please commit :-)

Am 22.07.2012 um 20:33 schrieb Jonathan Sauer:

> Hello,
> 
> turns out the fix is even simpler: As the whole "POD for the purpose of layout"-business is
> already taken care of by the layout builder (albeit without considering bitfields ATM), there
> is no need to duplicate the logic in the new getTypeInfo-method: It simply fetches the record
> layout and returns its data size.
> 
> I am wondering if the size of a record as returned by getTypeInfo could always be the data
> size, but I'm not knowledgable enough to assess this.
> 
> Attached is a new patch against the current TOT. Please review and commit it, if ok.
> 
> 
> Jonathan
> <PR13329.patch>
> 
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits





More information about the cfe-commits mailing list