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

View File

@ -1,5 +1,5 @@
// RUN: %clang_cc1 -triple arm64 -std=c++26 -Wno-deprecated-builtins \
// RUN: -fsyntax-only -verify %s
// RUN: -fsyntax-only -verify %s
// RUN: %clang_cc1 -triple arm64-apple-darwin -fptrauth-calls -fptrauth-intrinsics \
// RUN: -fptrauth-vtable-pointer-address-discrimination \
// RUN: -std=c++26 -Wno-deprecated-builtins \