]> granicus.if.org Git - clang/commit
When emitting l-values for bool non-__block decl references, make a pointer
authorJohn McCall <rjmccall@apple.com>
Thu, 28 Oct 2010 21:37:57 +0000 (21:37 +0000)
committerJohn McCall <rjmccall@apple.com>
Thu, 28 Oct 2010 21:37:57 +0000 (21:37 +0000)
commit46ec70e2e6541a067d33b2513505bec74582b53c
tree7dd72398444fc34975e4a2a4fbdd0b2e2acfedf0
parentb14eed0ed44ed3af881219dab7dc6464cad5303b
When emitting l-values for bool non-__block decl references, make a pointer
using the memory type;  fixes an assert.

Fixes rdar://problem/8605032

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117610 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGBlocks.cpp
test/CodeGen/blocks.c