Skip to content
Commit 21d3fca9 authored by Douglas Gregor's avatar Douglas Gregor
Browse files

When producing IR for a lvalue-to-rvalue cast *as an lvalue*, only

non-class prvalues actually require the realization of a
temporary. For everything else, we already have an lvalue (or class
prvalue) in the subexpression.

Note: we're missing some move elision in this case. I'll tackle that next.
llvm-svn: 124453
parent e4de2790
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment