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 588aace commit eaeca66Copy full SHA for eaeca66
libcxx/include/__memory/array_cookie.h
@@ -113,6 +113,9 @@ _LIBCPP_HIDE_FROM_ABI _LIBCPP_NO_SANITIZE("address") size_t __get_array_cookie([
113
using _ArrayCookie = __arm_array_cookie<_Tp>;
114
#else
115
static_assert(false, "The array cookie layout is unknown on this ABI");
116
+ struct _ArrayCookie { // dummy definition required to make the function parse
117
+ size_t element_count;
118
+ };
119
#endif
120
121
char const* __allocation_start = reinterpret_cast<char const*>(__ptr) - sizeof(_ArrayCookie);
0 commit comments