commit | b8fca90263760e579d2e463f02c846faa54d03a0 | [log] [tgz] |
---|---|---|
author | Chad Rosier <mcrosier@apple.com> | Fri Aug 05 22:38:04 2011 +0000 |
committer | Chad Rosier <mcrosier@apple.com> | Fri Aug 05 22:38:04 2011 +0000 |
tree | 193dc9fdf37ba2df6a89477edd9aadb09a2a409a | |
parent | e735e2deb9e57d9b62c1258ee236ccfeba8e84b2 [diff] |
Add support for using anonymous bitfields (e.g., int : 0) to enforce alignment. This fixes cases where the anonymous bitfield is followed by a bitfield member. E.g., struct t4 { char foo; long : 0; char bar : 1; }; rdar://9859156 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136991 91177308-0d34-0410-b5e6-96231b3b80d8