Make sure CodeGen uses a value of the correct type as the result of
authorEli Friedman <eli.friedman@gmail.com>
Wed, 19 Dec 2012 00:26:58 +0000 (00:26 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Wed, 19 Dec 2012 00:26:58 +0000 (00:26 +0000)
commit39b685e4d13c4c490019f1a10ecf7f9fde7a8f89
tree8a6afdbb69b54870264bb27ec09246bb0a291f38
parented74db7cd5b40f922e806331c622e223b6984311
Make sure CodeGen uses a value of the correct type as the result of
of assignment to a bool bitfield.  PR14638.

llvm-svn: 170480
clang/lib/CodeGen/CGExpr.cpp
clang/test/CodeGenCXX/bool-bitfield.cpp [new file with mode: 0644]