[libcxx-commits] [libcxx] [libcxxabi] [libcxx] Use alias for detecting overriden function (PR #114961)

Petr Hosek via libcxx-commits libcxx-commits at lists.llvm.org
Wed Nov 6 13:07:09 PST 2024


================
@@ -43,7 +43,7 @@ static void* operator_new_impl(std::size_t size) {
   return p;
 }
 
-_LIBCPP_MAKE_OVERRIDABLE_FUNCTION_DETECTABLE _LIBCPP_WEAK void* operator new(std::size_t size) _THROW_BAD_ALLOC {
+_LIBCPP_OVERRIDABLE_FUNCTION(_Znmw, void*, operator new, (std::size_t size)) _THROW_BAD_ALLOC {
----------------
petrhosek wrote:

Done.

https://github.com/llvm/llvm-project/pull/114961


More information about the libcxx-commits mailing list