]> granicus.if.org Git - clang/commit
Don't use native atomics on ivars whose size is not a power of two,
authorJohn McCall <rjmccall@apple.com>
Tue, 13 Sep 2011 07:33:34 +0000 (07:33 +0000)
committerJohn McCall <rjmccall@apple.com>
Tue, 13 Sep 2011 07:33:34 +0000 (07:33 +0000)
commitc5d9a90b3a3c16324e0cceeccec3d2993888deb6
tree9e082546bb308b65092a8b56b9e3e19c93180687
parentd6ce22cd40c0a1fe7382158eab78e271796ca489
Don't use native atomics on ivars whose size is not a power of two,
even on architectures that support unaligned access (which is the
only way this is otherwise legal, given that ivars apparently do
not honor alignment attributes).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139590 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/CharUnits.h
lib/CodeGen/CGObjC.cpp
test/CodeGenObjC/property-aggregate.m [new file with mode: 0644]