[all-commits] [llvm/llvm-project] 2999b7: [libc++] Make __decay_copy constexpr

Louis Dionne via All-commits all-commits at lists.llvm.org
Wed Oct 27 14:32:25 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2999b7307f70d5452018cbec61742b93e347c69e
      https://github.com/llvm/llvm-project/commit/2999b7307f70d5452018cbec61742b93e347c69e
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2021-10-27 (Wed, 27 Oct 2021)

  Changed paths:
    M libcxx/include/__utility/decay_copy.h

  Log Message:
  -----------
  [libc++] Make __decay_copy constexpr

This is going to be necessary to implement some range adaptors.
As a fly-by fix, rename _LIBCPP_INLINE_VISIBILITY to _LIBCPP_HIDE_FROM_ABI
and remove a redundant inline keyword.

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




More information about the All-commits mailing list