summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2010-06-30 00:54:29 +0000
committerChandler Carruth <chandlerc@gmail.com>2010-06-30 00:54:29 +0000
commitabb04f730e722e2457cabaec14546439f04ac73c (patch)
tree9f33c86a65c20fc9cead44fd164e6f09b00e6797 /llvm/lib/CodeGen
parentb3b89c3bc0e6bce4c1c35f34ae7f85a16ceedd0c (diff)
downloadbcm5719-llvm-abb04f730e722e2457cabaec14546439f04ac73c.tar.gz
bcm5719-llvm-abb04f730e722e2457cabaec14546439f04ac73c.zip
Fix PR7402: We were creating implicit member initializers for every field in an
anonymous union under the presumption that they didn't do anything. While this is true, our checks for redundant initialization of an anonymous union still fire when these overlap with explicit user initialization. A cleaner approach is to avoid initializing multiple members of a union altogether, but this still is in a rather fuzzy are especially when C++0x allows non-POD types into unions. llvm-svn: 107235
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud