commit | 8f3b2654a9ff6912862f366102f5c46f7757260a | [log] [tgz] |
---|---|---|
author | Steve Naroff <snaroff@apple.com> | Wed Jul 16 18:22:22 2008 +0000 |
committer | Steve Naroff <snaroff@apple.com> | Wed Jul 16 18:22:22 2008 +0000 |
tree | c05963a11140c35094cc19bdf67a2c5a7a783147 | |
parent | c9ba172447f2e2fe938ae03c3b16b91bda5b4dc3 [diff] |
Two fixes: - Make sure ObjCIvarDecl propagates the bitfield width. - RewriteObjC::SynthesizeIvarOffsetComputation(): Avoid using the __OFFSETOF__ mumbo jumbo for bitfields (since it isn't legal C). This fixes <rdar://problem/5986079> clang ObjC rewriter: bitfields and ivar access don't mix. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@53694 91177308-0d34-0410-b5e6-96231b3b80d8