We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d8dc45 commit 9f66062Copy full SHA for 9f66062
libcxx/include/__new/allocate.h
@@ -50,7 +50,8 @@ _LIBCPP_HIDE_FROM_ABI void __libcpp_operator_delete(_Args... __args) _NOEXCEPT {
50
}
51
52
template <class _Tp>
53
-inline _LIBCPP_HIDE_FROM_ABI _Tp* __libcpp_allocate(__element_count __n, size_t __align = _LIBCPP_ALIGNOF(_Tp)) {
+inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_NO_CFI _Tp*
54
+__libcpp_allocate(__element_count __n, size_t __align = _LIBCPP_ALIGNOF(_Tp)) {
55
size_t __size = static_cast<size_t>(__n) * sizeof(_Tp);
56
#if _LIBCPP_HAS_ALIGNED_ALLOCATION
57
if (__is_overaligned_for_new(__align)) {
0 commit comments