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
Description: Binary data
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
