aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/bitfield-layout.cpp
AgeCommit message (Collapse)Author
2010-04-17Simplify wide bit-field layout in CGRecordLayoutBuilder, and also fix a bug ↵Anders Carlsson
where assigning to a bit-field member would overwrite other parts of the struct. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@101681 91177308-0d34-0410-b5e6-96231b3b80d8
2010-04-17Unnamed bit-fields in a union should be laid out with a type that doesn't ↵Anders Carlsson
affect alignment. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@101673 91177308-0d34-0410-b5e6-96231b3b80d8
2010-04-17If a wide bit-field is inside a union its offset should always be 0.Anders Carlsson
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@101668 91177308-0d34-0410-b5e6-96231b3b80d8