]> granicus.if.org Git - clang/commit
[ms-abi] Update Alignment for VtorDisps
authorWarren Hunt <whunt@google.com>
Thu, 19 Dec 2013 00:43:59 +0000 (00:43 +0000)
committerWarren Hunt <whunt@google.com>
Thu, 19 Dec 2013 00:43:59 +0000 (00:43 +0000)
commitd53886624eaba8cd6150633af2bddc5f41fc6db9
treef18be7c3af4e616416640b1e689eb410ed667647
parent9be81e154324f38a9528bc3dce021c5fa07a5d69
[ms-abi] Update Alignment for VtorDisps

The alignment impact of the virtual bases apperas to be applied in
order, rather than up front.  This patch adds the new behavior and
provides a test case.

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