[all-commits] [llvm/llvm-project] 173476: [libc++] Add __decay_t and use it instead of decay...

philnik777 via All-commits all-commits at lists.llvm.org
Thu Mar 30 17:23:01 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 173476ea0407cc037134370a651bb71e9f2dac04
      https://github.com/llvm/llvm-project/commit/173476ea0407cc037134370a651bb71e9f2dac04
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2023-03-31 (Fri, 31 Mar 2023)

  Changed paths:
    M libcxx/include/__algorithm/make_projected.h
    M libcxx/include/__atomic/atomic_sync.h
    M libcxx/include/__exception/nested_exception.h
    M libcxx/include/__filesystem/path.h
    M libcxx/include/__functional/bind.h
    M libcxx/include/__functional/function.h
    M libcxx/include/__functional/invoke.h
    M libcxx/include/__functional/unwrap_ref.h
    M libcxx/include/__memory/compressed_pair.h
    M libcxx/include/__memory/pointer_traits.h
    M libcxx/include/__type_traits/common_type.h
    M libcxx/include/__type_traits/decay.h
    M libcxx/include/__utility/auto_cast.h
    M libcxx/include/__utility/pair.h
    M libcxx/include/experimental/iterator
    M libcxx/include/future
    M libcxx/include/thread
    M libcxx/include/valarray

  Log Message:
  -----------
  [libc++] Add __decay_t and use it instead of decay<>::type

This avoids instantiating lots of types.

Reviewed By: ldionne, #libc

Spies: libcxx-commits

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




More information about the All-commits mailing list