]> granicus.if.org Git - clang/commit
After much contemplation, I've decided that we probably shouldn't "unique"
authorJohn McCall <rjmccall@apple.com>
Thu, 31 Mar 2011 08:03:29 +0000 (08:03 +0000)
committerJohn McCall <rjmccall@apple.com>
Thu, 31 Mar 2011 08:03:29 +0000 (08:03 +0000)
commitf0c11f7e6848f023ced6a5b51399ba787c7d4d0b
tree9d6ddb565f9bd7b6cea04ce1eba7bc9b4e166035
parent94ae8fd470471134114599ccfc2301da05719212
After much contemplation, I've decided that we probably shouldn't "unique"
__block object copy/dispose helpers for C++ objects with those for
different variables with completely different semantics simply because
they happen to both be no more aligned than a pointer.

Found by inspection.

Also, internalize most of the helper generation logic within CGBlocks.cpp,
and refactor it to fit my peculiar aesthetic sense.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@128618 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGBlocks.cpp
lib/CodeGen/CodeGenFunction.h
lib/CodeGen/CodeGenModule.h
test/CodeGenCXX/blocks.cpp