diff options
| author | Warren Hunt <whunt@google.com> | 2014-01-11 01:16:40 +0000 |
|---|---|---|
| committer | Warren Hunt <whunt@google.com> | 2014-01-11 01:16:40 +0000 |
| commit | c3a5420a77b7b578f07cfbd8054612f45aa0c939 (patch) | |
| tree | 95cc10a99cab8425236156067e0fea670521e870 /lib/CodeGen/CodeGenFunction.cpp | |
| parent | 740314b86568cfaedf95425002bcfaf86dbdd3f8 (diff) | |
| download | clang-c3a5420a77b7b578f07cfbd8054612f45aa0c939.tar.gz clang-c3a5420a77b7b578f07cfbd8054612f45aa0c939.tar.bz2 clang-c3a5420a77b7b578f07cfbd8054612f45aa0c939.tar.xz | |
[ms-abi] Change the way alignment is tracked
This patch more cleanly seperates the concepts of Preferred Alignment
and Required Alignment. Most notable that changes to Required Alignment
do *not* impact preferred alignment until late in struct layout. This
is observable when using pragma pack and non-virtual bases and the use
of tail padding when laying them out.
Test cases included.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@198988 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
