commit | 8ff338bfd8abd9ac5d0c1d89c1b05e2c02727174 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Fri Nov 12 03:34:06 2010 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Fri Nov 12 03:34:06 2010 +0000 |
tree | fb31fec40321d2a3b7a2f0366e97f47ee40178db | |
parent | 89414b384a0004c698244cc675f49d0669bb3463 [diff] |
When performing initialization of a copy of a temporary object, use direct-initialization (rather than copy-initialization) to initialize the temporary, allowing explicit constructors. Fixes PR8342. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@118880 91177308-0d34-0410-b5e6-96231b3b80d8