[all-commits] [llvm/llvm-project] c6b12b: [libc++] Remove _LIBCPP_CONSTEVAL

Louis Dionne via All-commits all-commits at lists.llvm.org
Fri Mar 10 06:05:12 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c6b12b7c3bc81266e8becbcccf0eaf4622db0cd0
      https://github.com/llvm/llvm-project/commit/c6b12b7c3bc81266e8becbcccf0eaf4622db0cd0
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2023-03-10 (Fri, 10 Mar 2023)

  Changed paths:
    M libcxx/.clang-format
    M libcxx/include/__compare/ordering.h
    M libcxx/include/__config

  Log Message:
  -----------
  [libc++] Remove _LIBCPP_CONSTEVAL

It was only used in one place, and it seems entirely valid to use
constexpr unconditionally in that location.

Note that a different change was attempted, i.e. using consteval
unconditionally. However, this led to http://llvm.org/PR60709.

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




More information about the All-commits mailing list