[libcxx-commits] [PATCH] D153272: [libc++] Get rid of _LIBCPP_DISABLE_NEW_DELETE_DEFINITIONS

Nikolas Klauser via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jun 19 08:33:15 PDT 2023


philnik added inline comments.


================
Comment at: libcxx/src/new.cpp:13
 
-#if !defined(__GLIBCXX__) &&                                                   \
-    !defined(_LIBCPP_ABI_VCRUNTIME) &&      \
-    !defined(_LIBCPP_DISABLE_NEW_DELETE_DEFINITIONS)
+#if !defined(__GLIBCXX__) && !defined(_LIBCPP_ABI_VCRUNTIME)
 
----------------
Do you plan to move these conditions into CMake? It seems kind-of weird to just ignore `LIBCXX_ENABLE_NEW_DELETE_DEFINITIONS` in some cases.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D153272/new/

https://reviews.llvm.org/D153272



More information about the libcxx-commits mailing list