================ @@ -1438,6 +1438,10 @@ void CXXRecordDecl::addedMember(Decl *D) { data().StructuralIfLiteral = false; } + if (!data().HasTrivialSpecialMembers && + T.hasAddressDiscriminatedPointerAuth()) + data().HasTrivialSpecialMembers = true; ---------------- ojhunt wrote:
yes, so the question is why did nothing seem to break (as in what test would this break - it's possible that it gets masked by other pointer auth state) https://github.com/llvm/llvm-project/pull/154490 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits