[libcxx-commits] [PATCH] D154747: Revert "[libc++] Remove the type_traits includes from limits and new"

Ian Anderson via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Jul 7 14:15:31 PDT 2023


iana created this revision.
iana added reviewers: ldionne, Mordante, philnik, Bigcheese.
Herald added a subscriber: ributzka.
Herald added a project: All.
iana requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

type_traits doesn't need to include __type_traits/noexcept_move_assign_container.h, so there is no retain cycle from <limits> or <new>. Restore their includes of type_traits to preserve compatibility.

This reverts commit 2af6d79c7e38675a184280a2d6a92550702581f7 <https://reviews.llvm.org/rG2af6d79c7e38675a184280a2d6a92550702581f7>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D154747

Files:
  libcxx/docs/ReleaseNotes.rst
  libcxx/include/limits
  libcxx/include/new
  libcxx/test/libcxx/transitive_includes/cxx03.csv
  libcxx/test/libcxx/transitive_includes/cxx11.csv
  libcxx/test/libcxx/transitive_includes/cxx14.csv
  libcxx/test/libcxx/transitive_includes/cxx17.csv
  libcxx/test/libcxx/transitive_includes/cxx20.csv

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154747.538266.patch
Type: text/x-patch
Size: 6059 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230707/7b0c7f20/attachment.bin>


More information about the libcxx-commits mailing list