[all-commits] [llvm/llvm-project] 6c4765: Revert "[libc++] Remove the type_traits includes f...

Ian Anderson via All-commits all-commits at lists.llvm.org
Fri Jul 7 17:53:23 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6c47654efd36dd8fdbf089b485a1c594a354e421
      https://github.com/llvm/llvm-project/commit/6c47654efd36dd8fdbf089b485a1c594a354e421
  Author: Ian Anderson <iana at apple.com>
  Date:   2023-07-07 (Fri, 07 Jul 2023)

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

  Log Message:
  -----------
  Revert "[libc++] Remove the type_traits includes from limits and new"

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

This reverts commit 2af6d79c7e38675a184280a2d6a92550702581f7.

Reviewed By: ldionne, #libc

Differential Revision: https://reviews.llvm.org/D154747




More information about the All-commits mailing list