]> granicus.if.org Git - clang/commit
blocks: fixes an ast bug when block pointer variable
authorFariborz Jahanian <fjahanian@apple.com>
Fri, 7 Jun 2013 00:48:14 +0000 (00:48 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Fri, 7 Jun 2013 00:48:14 +0000 (00:48 +0000)
commit7523606638128e19d6993c356851fd3e88078201
treeb81381e4daacc489548652a250457bf721ed1db0
parent1bea653e0d0f0182ed6e0deb5c18ad1123bb3bbd
blocks: fixes an ast bug when block pointer variable
is evaluated in a condition expression and then
dereferenced to envoke the block. This is
pr15663 and I applied a slight variation of the
patch with a test case. (patch is from
Arthur O'Dwyer). Also // rdar://14085217

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