]> granicus.if.org Git - clang/commit
Microsoft adds weird padding before virtual bases if the last field was a bitfield
authorWarren Hunt <whunt@google.com>
Wed, 6 Nov 2013 00:54:59 +0000 (00:54 +0000)
committerWarren Hunt <whunt@google.com>
Wed, 6 Nov 2013 00:54:59 +0000 (00:54 +0000)
commit92563d0c04d9f06e528439bb93073e41ecbdc07b
tree31648e5bfe51e902ef322e03a21c85c914e5ec0b
parent00841f5d6273d9088cfe308bacf6f5a80470c829
Microsoft adds weird padding before virtual bases if the last field was a bitfield

This patch adds the same behavior to clang.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194115 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/RecordLayoutBuilder.cpp
test/Layout/ms-x86-bitfields-vbases.cpp [new file with mode: 0644]