-std=c++0x. Patch by Ahmed Charles! llvm-svn: 141900
lvalue/xvalue/rvalue, rather than just (incorrectly) assuming it's an lvalue. Fixes PR10285 / <rdar://problem/9743926>. llvm-svn: 134700