We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64a6004 commit 873fce6Copy full SHA for 873fce6
clang/lib/AST/DeclCXX.cpp
@@ -927,7 +927,8 @@ void CXXRecordDecl::addedMember(Decl *D) {
927
SMKind |= SMF_MoveAssignment;
928
}
929
930
- if (Method->isUserProvided() && (Method->isCopyAssignment() || Method->isMoveAssignment()))
+ if (Method->isUserProvided() && (Method->isCopyAssignmentOperator() ||
931
+ Method->isMoveAssignmentOperator()))
932
data().IsNaturallyTriviallyRelocatable = false;
933
934
// Keep the list of conversion functions up-to-date.
0 commit comments