[all-commits] [llvm/llvm-project] 2ff5a5: [libcxx][type_traits] remove `std::is_literal_type...

Wmbat via All-commits all-commits at lists.llvm.org
Fri Jul 2 10:22:07 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2ff5a56e1ab2a95c36d3c5d2bef7c585125718ae
      https://github.com/llvm/llvm-project/commit/2ff5a56e1ab2a95c36d3c5d2bef7c585125718ae
  Author: wmbat <wmbat at protonmail.com>
  Date:   2021-07-02 (Fri, 02 Jul 2021)

  Changed paths:
    M libcxx/docs/Cxx2aStatus.rst
    M libcxx/docs/UsingLibcxx.rst
    M libcxx/include/__config
    M libcxx/include/type_traits
    A libcxx/test/std/atomics/atomics.types.generic/standard_layout.compile.pass.cpp
    R libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_helpers.h
    M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/ctor.pass.cpp
    A libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/dtor.pass.cpp
    M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.wait/atomic_wait.pass.cpp
    R libcxx/test/std/utilities/any/any.class/not_literal_type.pass.cpp
    M libcxx/test/std/utilities/function.objects/func.invoke/invoke.pass.cpp
    M libcxx/test/std/utilities/function.objects/func.invoke/invoke_constexpr.pass.cpp
    M libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/common_type.pass.cpp
    A libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/result_of.deprecated.fail.cpp
    M libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/result_of.pass.cpp
    M libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/result_of11.pass.cpp
    A libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_literal_type.deprecated.fail.cpp
    M libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_literal_type.pass.cpp
    A libcxx/test/support/atomic_helpers.h
    M libcxx/test/support/poisoned_hash_helper.h

  Log Message:
  -----------
  [libcxx][type_traits] remove `std::is_literal_type` and `std::result_of` for C++20

C++17 deprecated `std::is_literal_type` and `std::result_of`, C++20 removed them.

Implements parts of:
    * P0174R2 'Deprecating Vestigial Library Parts in C++17'.
    * P0619R4 'Reviewing Deprecated Facilities of C++17 for C++20'.

Reviewed By: ldionne, Mordante, Quuxplusone, #libc

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




More information about the All-commits mailing list