[PATCH] Fixing Alias-Avoidance Padding for MS-ABI Layout
Warren Hunt
whunt at google.com
Wed Nov 27 15:27:26 PST 2013
Note to self:
if (const RecordType *RT =
FD->getType()->getBaseElementTypeUnsafe()->getAs<RecordType>()) {
const ASTRecordLayout &Layout = Context.getASTRecordLayout(RT->getDecl());
if (Layout.hasZeroSizedMemberOrBase())
HasZeroSizedMemberOrBase = true;
}
should move inside getAdjustedFieldInfo, in order to merge better with the RequiredAlignment patch.
http://llvm-reviews.chandlerc.com/D2283
http://llvm-reviews.chandlerc.com/D2258
More information about the cfe-commits
mailing list