Skip to content

Commit

Permalink
Revert to previous feature check
Browse files Browse the repository at this point in the history
  • Loading branch information
ldionne committed Jul 18, 2024
1 parent c145cc3 commit 5bafe12
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions libcxx/include/typeinfo
Original file line number Diff line number Diff line change
Expand Up @@ -275,9 +275,8 @@ struct __type_info_implementations {
__impl;
};

# if __has_cpp_attribute(_Clang::__ptrauth_vtable_pointer__) && __has_feature(__ptrauth_calls__)
# if __has_feature(__ptrauth_vtable_address_discrimination__) || \
__has_feature(__ptrauth_vtable_type_discrimination__)
# if __has_cpp_attribute(_Clang::__ptrauth_vtable_pointer__)
# if __has_feature(ptrauth_type_info_discriminated_vtable_pointer)
# define _LIBCPP_TYPE_INFO_VTABLE_POINTER_AUTH \
[[_Clang::__ptrauth_vtable_pointer__(process_independent, address_discrimination, type_discrimination)]]
# else
Expand Down

0 comments on commit 5bafe12

Please sign in to comment.