================
@@ -1438,6 +1438,10 @@ void CXXRecordDecl::addedMember(Decl *D) {
data().StructuralIfLiteral = false;
}
+ if (!data().HasTrivialSpecialMembers &&
+ T.hasAddressDiscriminatedPointerAuth())
+ data().HasTrivialSpecialMembers = true;
----------------
cor3ntin wrote:
isn't that doing the opposite of what we want?
ie a discriminated field should not be trivial
https://github.com/llvm/llvm-project/pull/154490
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits