[all-commits] [llvm/llvm-project] f900f7: [libc++] Remove the _LIBCPP_BOOL_CONSTANT macro

Louis Dionne via All-commits all-commits at lists.llvm.org
Fri Mar 25 05:46:32 PDT 2022


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

  Changed paths:
    M libcxx/include/exception
    M libcxx/include/ratio
    M libcxx/include/type_traits

  Log Message:
  -----------
  [libc++] Remove the _LIBCPP_BOOL_CONSTANT macro

I suspect this is a remnant of the times when we were not comfortable
using Clang's C++11/14 extensions everywhere, but now we do, so we can
use _BoolConstant instead and get rid of the macro.

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




More information about the All-commits mailing list