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 57c6da5 commit a4ae527Copy full SHA for a4ae527
libcxx/include/__memory/array_cookie.h
@@ -85,7 +85,7 @@ struct __has_array_cookie : false_type {};
85
// [2]: https://developer.apple.com/documentation/xcode/writing-arm64-code-for-apple-platforms#Handle-C++-differences
86
template <class _Tp>
87
// Avoid failures when -fsanitize-address-poison-custom-array-cookie is enabled
88
-_LIBCPP_HIDE_FROM_ABI _LIBCPP_NO_SANITIZE("address") size_t __get_array_cookie([[maybe_unused]] _Tp const* __ptr) {
+_LIBCPP_HIDE_FROM_ABI _LIBCPP_NO_SANITIZE("address") size_t __get_array_cookie([[__maybe_unused__]] _Tp const* __ptr) {
89
static_assert(
90
__has_array_cookie<_Tp>::value, "Trying to access the array cookie of a type that is not guaranteed to have one");
91
0 commit comments