commit | 604fb38cd943649bee579103d17ca6cda4aad144 | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Tue Aug 07 22:06:48 2012 +0000 |
committer | Richard Smith <richard-llvm@metafoo.co.uk> | Tue Aug 07 22:06:48 2012 +0000 |
tree | 925637a7c38207a565dc74f11678113e6d75e100 | |
parent | 0b8220ae342f71fb50e763668f92d038eb54fb3f [diff] |
When building a conditional operator where one operand is a throw-expression and the other is a glvalue of class type, don't forget to copy-initialize a temporary when performing the lvalue-to-rvalue conversion on the glvalue. Strangely, DefaultLvalueConversions misses this part of the lvalue-to-rvalue conversions. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161450 91177308-0d34-0410-b5e6-96231b3b80d8