[all-commits] [llvm/llvm-project] 3347e7: [libc++] [LWG3656] Update the return type of std::...

Quuxplusone via All-commits all-commits at lists.llvm.org
Fri Mar 4 14:31:31 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3347e7d40fd83ae762dcdb7c6161550e4190d6cf
      https://github.com/llvm/llvm-project/commit/3347e7d40fd83ae762dcdb7c6161550e4190d6cf
  Author: Arthur O'Dwyer <arthur.j.odwyer at gmail.com>
  Date:   2022-03-04 (Fri, 04 Mar 2022)

  Changed paths:
    M libcxx/docs/Status/Cxx2bIssues.csv
    M libcxx/include/bit
    M libcxx/test/std/numerics/bit/bit.pow.two/bit_width.pass.cpp

  Log Message:
  -----------
  [libc++] [LWG3656] Update the return type of std::bit_width.

Fixes LWG3656, "Inconsistent bit operations returning a count".
https://cplusplus.github.io/LWG/issue3656

The fix has been approved for C++23 and left to vendors' discretion
in C++20 (but it sounds like everyone's on the same page that
of course it should be DR'ed back to C++20 too).

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




More information about the All-commits mailing list