[libcxx-commits] [PATCH] D139231: [libc++] Move the definition of aligned allocation helpers outside of <new>

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Dec 2 13:52:55 PST 2022


ldionne created this revision.
Herald added a project: All.
ldionne requested review of this revision.
Herald added projects: libc++, libc++abi.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.
Herald added a reviewer: libc++abi.

They are not needed in <new> -- in fact they are only needed in .cpp files.
Getting those out of the way makes the headers smaller and also makes it
easier to use the library on platforms where aligned allocation is not
available.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D139231

Files:
  libcxx/include/CMakeLists.txt
  libcxx/include/__memory/aligned_alloc.h
  libcxx/include/new
  libcxx/src/new.cpp
  libcxx/test/libcxx/language.support/support.dynamic/libcpp_deallocate.sh.cpp
  libcxx/test/libcxx/private_headers.verify.cpp
  libcxxabi/src/fallback_malloc.cpp
  libcxxabi/src/stdlib_new_delete.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139231.479743.patch
Type: text/x-patch
Size: 6606 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20221202/408039cb/attachment.bin>


More information about the libcxx-commits mailing list