]> granicus.if.org Git - clang/commit
Two fixes:
authorSteve Naroff <snaroff@apple.com>
Wed, 16 Jul 2008 18:22:22 +0000 (18:22 +0000)
committerSteve Naroff <snaroff@apple.com>
Wed, 16 Jul 2008 18:22:22 +0000 (18:22 +0000)
commit8f3b2654a9ff6912862f366102f5c46f7757260a
treec05963a11140c35094cc19bdf67a2c5a7a783147
parentc9ba172447f2e2fe938ae03c3b16b91bda5b4dc3
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
Driver/RewriteObjC.cpp
include/clang/AST/DeclObjC.h
lib/AST/DeclObjC.cpp
lib/Sema/SemaDecl.cpp