]> granicus.if.org Git - clang/commit
[ms-abi] Adjusting Rules for Padding Between Bases
authorWarren Hunt <whunt@google.com>
Fri, 10 Jan 2014 23:32:32 +0000 (23:32 +0000)
committerWarren Hunt <whunt@google.com>
Fri, 10 Jan 2014 23:32:32 +0000 (23:32 +0000)
commitd51b71c7b3abd27d82f3f97e09eb1eb1630f7f45
tree5285c4fd8e6b1fd59783b679ade4b652c95216f5
parentce314dc2501662cbd1c78a4aa21ffb5f8d8958a8
[ms-abi] Adjusting Rules for Padding Between Bases

The presence of a VBPtr suppresses the presence of zero sized
sub-objects in the non-virtual portion of the object in the context of
determining if two base objects need alias-avoidance padding placed
between them.

Test cases included.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@198975 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/RecordLayoutBuilder.cpp
test/Layout/ms-x86-alias-avoidance-padding.cpp