Skip to content

Commit 873fce6

Browse files
committed
Fix formatting
1 parent 64a6004 commit 873fce6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

clang/lib/AST/DeclCXX.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -927,7 +927,8 @@ void CXXRecordDecl::addedMember(Decl *D) {
927927
SMKind |= SMF_MoveAssignment;
928928
}
929929

930-
if (Method->isUserProvided() && (Method->isCopyAssignment() || Method->isMoveAssignment()))
930+
if (Method->isUserProvided() && (Method->isCopyAssignmentOperator() ||
931+
Method->isMoveAssignmentOperator()))
931932
data().IsNaturallyTriviallyRelocatable = false;
932933

933934
// Keep the list of conversion functions up-to-date.

0 commit comments

Comments
 (0)