[clang] Remove device override for operator new when the C++ standard >= 26 (PR #114056)

Artem Belevich via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 29 17:14:28 PDT 2024


================
@@ -91,12 +91,14 @@ __device__ inline void operator delete[](void *ptr,
 #endif
 
 // Device overrides for placement new and delete.
+#if _LIBCPP_STD_VER < 26
----------------
Artem-B wrote:

Yup. Reproducible on compiler explorer: https://godbolt.org/z/xr5nEhGnr

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


More information about the cfe-commits mailing list