Skip to content
Commit 139e9621 authored by Chandler Carruth's avatar Chandler Carruth
Browse files

Reapply r107235, this time with both my typo fixed, and a logical bug fixed.

Previously we relied on the presence of a member which needs no initialization
to prevent us from creating an additional initialization of the outer anonymous
union field. We have already correctly marked that field as initialized by the
member of the union (repeatedly due to the original bug this patch fixes) so we
simply need to bail out.

llvm-svn: 107242
parent be792feb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment