forked from OSchip/llvm-project
Fix a think-o that amazingly didn't show up until I started writing
implicit move tests. llvm-svn: 133655
This commit is contained in:
parent
33e022650a
commit
46d1ce23a7
|
@ -2225,7 +2225,7 @@ Sema::SpecialMemberOverloadResult *Sema::LookupSpecialMember(CXXRecordDecl *D,
|
|||
// there is no semantic difference for class types in this restricted
|
||||
// case.
|
||||
ExprValueKind VK;
|
||||
if (SM == CXXCopyAssignment || SM == CXXMoveAssignment)
|
||||
if (SM == CXXCopyConstructor || SM == CXXCopyAssignment)
|
||||
VK = VK_LValue;
|
||||
else
|
||||
VK = VK_RValue;
|
||||
|
|
Loading…
Reference in New Issue