summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorWarren Hunt <whunt@google.com>2014-04-10 22:15:18 +0000
committerWarren Hunt <whunt@google.com>2014-04-10 22:15:18 +0000
commit10b2c5623bb1383b42fa722d1de69a36bf018d65 (patch)
tree67aaa449d64c0bb0af078bc412b220a3a9fa251f /lib/CodeGen/CodeGenFunction.cpp
parent5d6c2aba33cda6556f947411f557f4dbaee97512 (diff)
downloadclang-10b2c5623bb1383b42fa722d1de69a36bf018d65.tar.gz
clang-10b2c5623bb1383b42fa722d1de69a36bf018d65.tar.bz2
clang-10b2c5623bb1383b42fa722d1de69a36bf018d65.tar.xz
[MS-ABI] Fixed __declspec(align()) on bitfields under #pragma pack.
When __declspec(align()) is applied to a bitfield it affects the alignment rather than the required alignment of the struct. The major feature that this patch adds is that the alignment of the structure obeys the alignment of __declspec(align()) from the bitfield over the value specified in pragma pack. Test cases are included. The patch also includes some small cleanups in recordlayoutbuilder and some cleanups to some lit tests, including line endings (but no functionality change to lit tests) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@205994 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions