Skip to content
Commit 1bae6a1b authored by Douglas Gregor's avatar Douglas Gregor
Browse files

Teach CodeGenFunction::EmitCastLValue() to handle casts to an lvalue

that involve binding a reference to a pure rvalue temporary (e.g., not
a class temporary), by creating a new temporary and copying the result
there. Fixes PR6024.

llvm-svn: 108431
parent eb08d010
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