]> granicus.if.org Git - clang/commit
[MS-ABI] Update virtual base padding rules to match MSVC 10+
authorWarren Hunt <whunt@google.com>
Fri, 11 Apr 2014 00:14:09 +0000 (00:14 +0000)
committerWarren Hunt <whunt@google.com>
Fri, 11 Apr 2014 00:14:09 +0000 (00:14 +0000)
commit854cecb0a497cd10ee4abb3cf43b2d24d874b4f9
treee91758607bf107c67e06ac3856eac2cd70fefc9b
parent32a4ee77c9afa4dba3342113f6bfd0db3da3202a
[MS-ABI] Update virtual base padding rules to match MSVC 10+
In version 9 (VS2010) (and prior)? versions of msvc, if the last field
in a record was a bitfield padding equal to the size of the storage
class of that bitfield was added before each vbase and vtordisp.  This
patch removes that feature from clang and updates the lit tests to
reflect it.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206004 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/RecordLayoutBuilder.cpp
test/Layout/ms-x86-bitfields-vbases.cpp
test/Layout/ms-x86-pack-and-align.cpp