]> granicus.if.org Git - clang/commit
Fix for PR3687: use the memory representation for booleans when a
authorEli Friedman <eli.friedman@gmail.com>
Tue, 3 Mar 2009 04:48:01 +0000 (04:48 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Tue, 3 Mar 2009 04:48:01 +0000 (04:48 +0000)
commit57a84fb51de4f3de50debcf12dd194af8c6aaa58
tree9012a6e4ca19f588a40ef9e7a468c607f1b40c92
parent2943aed177b33ae3f14273b11a7b398e5276ec62
Fix for PR3687: use the memory representation for booleans when a
sub-type describes a memory location, like the pointee type of a pointer
or the element type of an array.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65925 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenTypes.cpp
lib/CodeGen/CodeGenTypes.h
test/CodeGen/bool-convert.c [new file with mode: 0644]