[libcxx-commits] [libcxx] [libc++] Remove _LIBCPP_HAS_SIZED_DEALLOCATION (PR #172285)

Nico Weber via libcxx-commits libcxx-commits at lists.llvm.org
Wed Mar 4 05:51:15 PST 2026


================
@@ -13,7 +13,6 @@
 #include <__cstddef/max_align_t.h>
 #include <__cstddef/size_t.h>
 #include <__new/align_val_t.h>
-#include <__new/global_new_delete.h> // for _LIBCPP_HAS_SIZED_DEALLOCATION
----------------
nico wrote:

Still working towards a standalone repro. https://issues.chromium.org/issues/475763034#comment15 has it reproing on this code snippet:

```
class NativeState
{
  virtual ~NativeState() {}
};

#include <string>
#include <vector>

std::vector<std::string> d;
```

Nothing actionable for you yet, still looking at this on and off.

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


More information about the libcxx-commits mailing list