[libcxx-commits] [PATCH] D57262: [libunwind] Drop the dependency on <algorithm>, add placement new inline

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Jan 25 15:39:48 PST 2019


ldionne added inline comments.


================
Comment at: libunwind/src/libunwind.cpp:30
 
+inline void* operator new(size_t, void* __p) { return __p; }
+
----------------
Why do we need to define this? I thought placement new was handled by Clang directly, without requiring a declaration?


Repository:
  rUNW libunwind

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

https://reviews.llvm.org/D57262





More information about the libcxx-commits mailing list