summaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/reference-cast.cpp
Commit message (Collapse)AuthorAge
* Fix r137086 to actually work properly in general. PR10650.Eli Friedman2011-08-14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@137574 91177308-0d34-0410-b5e6-96231b3b80d8
* Hand materialization of temporary expressions when emitting a scalarDouglas Gregor2011-08-09
| | | | | | | expression. Fxies PR10592. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@137086 91177308-0d34-0410-b5e6-96231b3b80d8
* Adjust test for float printing differences. Windows uses three digits for ↵Benjamin Kramer2010-07-19
| | | | | | the exponent, everyone else two. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@108693 91177308-0d34-0410-b5e6-96231b3b80d8
* Reinstate the scalar-cast-to-const-reference improvements, this timeDouglas Gregor2010-07-15
| | | | | | | | | | with the proper spelling of "non-class prvalue". Silly me, I think class rvalues were xvalues rather than prvalues! Hah hah hah. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@108443 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert r108431 and r108433 (the cast-to-const-reference fixes), whichDouglas Gregor2010-07-15
| | | | | | | broke nightlytest. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@108439 91177308-0d34-0410-b5e6-96231b3b80d8
* Teach CodeGenFunction::EmitCastLValue() to handle casts to an lvalueDouglas Gregor2010-07-15
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@108431 91177308-0d34-0410-b5e6-96231b3b80d8