commit | 63ef464c3fad1e8b9f9360baa6c81f974b712e90 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Wed Jul 07 22:35:13 2010 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Wed Jul 07 22:35:13 2010 +0000 |
tree | 3809b571133d9e4388993f282855661001978e9d | |
parent | 3e31552aed7c6e9c915bbc8d457ec84bb4a8d7e9 [diff] |
Do not use CXXZeroValueInitExpr for class types. Instead, use CXXConstructExpr/CXXTemporaryObjectExpr/CXXNewExpr as appropriate. Fixes PR7556, and provides a slide codegen improvement when copy-initializing a POD class type from a value-initialized temporary. Previously, we weren't eliding the copy. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107827 91177308-0d34-0410-b5e6-96231b3b80d8