]> granicus.if.org Git - clang/commit
Truncate block variable of bool type to i1 when its
authorFariborz Jahanian <fjahanian@apple.com>
Fri, 3 Sep 2010 23:07:53 +0000 (23:07 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Fri, 3 Sep 2010 23:07:53 +0000 (23:07 +0000)
commit469a20de757ff872c90ff6b1134f6346909ff652
treef62940cbeebc4b234743044db4827de3df4b963d
parent030ef472f31709e175895853fcb43d61d09022c7
Truncate block variable of bool type to i1 when its
value is used. This matches with non-block variable
use of bool type. (Fixes radar 8390062).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@113027 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGDecl.cpp
lib/CodeGen/CGExpr.cpp
lib/CodeGen/CGExprScalar.cpp
test/SemaCXX/blocks.cpp