]> granicus.if.org Git - clang/commit
Reset the layout of an ObjC class if we see an ivar in a category
authorEric Christopher <echristo@apple.com>
Thu, 19 Jul 2012 22:22:51 +0000 (22:22 +0000)
committerEric Christopher <echristo@apple.com>
Thu, 19 Jul 2012 22:22:51 +0000 (22:22 +0000)
commit6dba4a1bc3c257bee0812a130c468917ea210e05
tree56f757338723867406d8f370680639d23b79fe8a
parent9d9cf5097e5f7907c1d2b042cc5d0e4377a4f156
Reset the layout of an ObjC class if we see an ivar in a category
or implementation since we've now got a different layout.

Fixes rdar://11842763

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160526 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDecl.cpp
test/CodeGenObjC/layout-bitfield-crash.m [new file with mode: 0644]