Remove dumb code
This commit is contained in:
parent
689d70c706
commit
5c4a30b3d4
@ -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
|
||||
|
@ -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 \
|
||||
|
Loading…
x
Reference in New Issue
Block a user