When building the copy expression for a __block variable, make sure
commitaf6d19baf8f2fcbf0a3c339fb5e352a416847970
authorJohn McCall <rjmccall@apple.com>
Wed, 19 Jan 2011 11:48:09 +0000 (19 11:48 +0000)
committerJohn McCall <rjmccall@apple.com>
Wed, 19 Jan 2011 11:48:09 +0000 (19 11:48 +0000)
tree1595af6e401aabe07cddee4015bebea0ba1a1fdd
parentfd545097516355b39a6221dee00c08c114b661f1
When building the copy expression for a __block variable, make sure
there's a respectable point of instantiation.  Also, make sure we do
this operation even when instantiating a dependently-typed variable.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@123818 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/Sema.h
lib/Sema/SemaDecl.cpp
lib/Sema/SemaDeclCXX.cpp
test/SemaObjCXX/blocks.mm