[cfe-commits] r77087 - in /cfe/trunk: lib/AST/RecordLayoutBuilder.cpp lib/CodeGen/CGCXX.cpp lib/CodeGen/CodeGenTypes.cpp test/CodeGenCXX/constructor-init.cpp
andersca at mac.com
Tue Jul 28 10:04:52 PDT 2009
On Jul 28, 2009, at 10:02 AM, Fariborz Jahanian wrote:
>> I intentionally did not emit field offsets for base classes because:
>> 1. They're somewhat different from regular fields
>> 2. This makes the FieldOffsets mean something different in C++ vs C.
>> I have a patch that implements type layout for non-virtual base
>> classes and I plan to land it later today.
> I thought that this would change. I hope also that I would be able
> to get the offset of each base laid out in the current class
> by a suitable API after your changes.
Yes, we definitely need that for derived-to-base and base-to-derived
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-commits