]> granicus.if.org Git - clang/commit
Fix an assertion when initializing a union using a member initializer. (We weren...
authorAnders Carlsson <andersca@mac.com>
Wed, 2 Sep 2009 21:14:47 +0000 (21:14 +0000)
committerAnders Carlsson <andersca@mac.com>
Wed, 2 Sep 2009 21:14:47 +0000 (21:14 +0000)
commitc186b8fe4a308b53569fe839a3224de70d92ab0e
tree40f4eafa4aec4f0d28d2cc88347debef8cd0c22c
parent9ab605acf4a08a795d222c5602fdc595ce70348f
Fix an assertion when initializing a union using a member initializer. (We weren't casting from the union type to the initializer type correctly).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@80837 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGCXX.cpp
test/CodeGenCXX/anonymous-union-member-initializer.cpp [new file with mode: 0644]