Skip to content

Commit 5bafe12

Browse files
committed
Revert to previous feature check
1 parent c145cc3 commit 5bafe12

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

libcxx/include/typeinfo

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -275,9 +275,8 @@ struct __type_info_implementations {
275275
__impl;
276276
};
277277

278-
# if __has_cpp_attribute(_Clang::__ptrauth_vtable_pointer__) && __has_feature(__ptrauth_calls__)
279-
# if __has_feature(__ptrauth_vtable_address_discrimination__) || \
280-
__has_feature(__ptrauth_vtable_type_discrimination__)
278+
# if __has_cpp_attribute(_Clang::__ptrauth_vtable_pointer__)
279+
# if __has_feature(ptrauth_type_info_discriminated_vtable_pointer)
281280
# define _LIBCPP_TYPE_INFO_VTABLE_POINTER_AUTH \
282281
[[_Clang::__ptrauth_vtable_pointer__(process_independent, address_discrimination, type_discrimination)]]
283282
# else

0 commit comments

Comments
 (0)