]> granicus.if.org Git - clang/commit
When building the copy expression for a __block variable, make sure
authorJohn McCall <rjmccall@apple.com>
Wed, 19 Jan 2011 11:48:09 +0000 (11:48 +0000)
committerJohn McCall <rjmccall@apple.com>
Wed, 19 Jan 2011 11:48:09 +0000 (11:48 +0000)
commit2998d6b0e6d5476c473f68012a851fe4a0f609c8
tree1595af6e401aabe07cddee4015bebea0ba1a1fdd
parent3b6575108a5b6d8b92ac3a9a7794bf6c3a210907
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