Remove dumb code

This commit is contained in:
Oliver Hunt 2025-08-21 01:14:40 -07:00
parent 689d70c706
commit 5c4a30b3d4
Failed to extract signature
2 changed files with 1 additions and 5 deletions

View File

@ -1438,10 +1438,6 @@ void CXXRecordDecl::addedMember(Decl *D) {
data().StructuralIfLiteral = false;
}
if (!data().HasTrivialSpecialMembers &&
T.hasAddressDiscriminatedPointerAuth())
data().HasTrivialSpecialMembers = true;
// C++14 [meta.unary.prop]p4:
// T is a class type [...] with [...] no non-static data members other
// than subobjects of zero size