]> granicus.if.org Git - clang/commit
[MS-ABI] adds padding before all vbases after a bitfield
authorWarren Hunt <whunt@google.com>
Fri, 6 Dec 2013 20:16:49 +0000 (20:16 +0000)
committerWarren Hunt <whunt@google.com>
Fri, 6 Dec 2013 20:16:49 +0000 (20:16 +0000)
commitec8d5a825d8f511199d110be14ce57f652461aae
tree90375ed6edc58d930143b4a20023db932c377738
parent14bff0de022021931d9978d0c9d326b85f81b515
[MS-ABI] adds padding before all vbases after a bitfield

MS-ABI adds padding before *every* vbase if the last field in a record
is a bit-field. This changes clangs behavior to match. I also fix some
windows-style line endings in the test file.

Differential Revision: http://llvm-reviews.chandlerc.com/D2277

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