Skip to content
Commit 528499bb authored by Douglas Gregor's avatar Douglas Gregor
Browse files

When defining the implicit move assignment operator, don't perform

semantic analysis when taking the address of an xvalue. Instead, just
build the unary operator directly, since it's safe to do so (from the
IRgen and AST perspectives) for any glvalue. Fixes PR10822.

llvm-svn: 138935
parent 90da66bb
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