diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-08-07 22:06:48 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-08-07 22:06:48 +0000 |
commit | 45edb704d39ccb2681026f475c10b5d4f06ac9a4 (patch) | |
tree | 61a98b57221f9685403617529992ad72fa628fc5 /llvm/lib/CodeGen/MachineBranchProbabilityInfo.cpp | |
parent | 0a8cfc79b7f43720476ef6e45b416dfb5d9cd823 (diff) | |
download | llvm-45edb704d39ccb2681026f475c10b5d4f06ac9a4.zip llvm-45edb704d39ccb2681026f475c10b5d4f06ac9a4.tar.gz llvm-45edb704d39ccb2681026f475c10b5d4f06ac9a4.tar.bz2 |
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.
llvm-svn: 161450
Diffstat (limited to 'llvm/lib/CodeGen/MachineBranchProbabilityInfo.cpp')
0 files changed, 0 insertions, 0 deletions