[clang] [clang][Sema] Track trivial-relocatability as a type trait (PR #84621)
Amirreza Ashouri via cfe-commits
cfe-commits at lists.llvm.org
Sun Mar 17 06:16:12 PDT 2024
================
@@ -857,8 +881,13 @@ void CXXRecordDecl::addedMember(Decl *D) {
data().HasDeclaredCopyAssignmentWithConstParam = true;
}
- if (Method->isMoveAssignmentOperator())
+ if (Method->isMoveAssignmentOperator()) {
SMKind |= SMF_MoveAssignment;
+ }
----------------
AMP999 wrote:
It's been fixed in the new commit.
https://github.com/llvm/llvm-project/pull/84621
More information about the cfe-commits
mailing list