[libcxx-commits] [clang] [libcxx] [libcxxabi] [runtimes] Never define operator new in libc++ (PR #218989)

David Chisnall via libcxx-commits libcxx-commits at lists.llvm.org
Fri Aug 28 07:29:03 PDT 2026


================
@@ -5,4 +5,3 @@ set(LIBCXX_ABI_VERSION "1" CACHE STRING "")
 set(LIBCXX_ENABLE_STATIC ON CACHE BOOL "")
 set(LIBCXX_ENABLE_SHARED ON CACHE BOOL "")
 set(LIBCXX_CXX_ABI libcxxrt CACHE STRING "")
-set(LIBCXX_ENABLE_NEW_DELETE_DEFINITIONS ON CACHE BOOL "")
----------------
davidchisnall wrote:

We can add the missing ones to libcxxrt quite easily.  We didn't because it's mostly used with libc++, which defined them and we regarded them as a small set to be used with things that didn't link a standard library.  

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


More information about the libcxx-commits mailing list