[libcxx-commits] [PATCH] D90551: [libcxx] Implement P1956 rename low-level bit functions

Mark de Wever via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sun Nov 1 04:14:21 PST 2020


Mordante created this revision.
Mordante added a reviewer: ldionne.
Mordante added a project: libc++.
Herald added a subscriber: arichardson.
Herald added a reviewer: libc++.
Mordante requested review of this revision.

Implements P1956 <https://reviews.llvm.org/P1956>: On the names of low-level bit manipulation functions.

Users may use older versions of libc++ or other standard libraries with the old names. In order to keep compatibility the old functions are kept, but marked as deprecated.

The patch also adds a new config macro `_LIBCPP_DEPRECATED_MSG`. Do you prefer a this is a separate patch?


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D90551

Files:
  libcxx/docs/FeatureTestMacroTable.rst
  libcxx/include/__config
  libcxx/include/bit
  libcxx/include/version
  libcxx/test/libcxx/numerics/bit.ops.pass.cpp
  libcxx/test/std/language.support/support.limits/support.limits.general/bit.version.pass.cpp
  libcxx/test/std/language.support/support.limits/support.limits.general/version.version.pass.cpp
  libcxx/test/std/numerics/bit/bit.pow.two/bit_ceil.fail.cpp
  libcxx/test/std/numerics/bit/bit.pow.two/bit_ceil.pass.cpp
  libcxx/test/std/numerics/bit/bit.pow.two/bit_floor.pass.cpp
  libcxx/test/std/numerics/bit/bit.pow.two/bit_width.pass.cpp
  libcxx/test/std/numerics/bit/bit.pow.two/ceil2.fail.cpp
  libcxx/test/std/numerics/bit/bit.pow.two/ceil2.pass.cpp
  libcxx/test/std/numerics/bit/bit.pow.two/floor2.pass.cpp
  libcxx/test/std/numerics/bit/bit.pow.two/has_single_bit.pass.cpp
  libcxx/test/std/numerics/bit/bit.pow.two/ispow2.pass.cpp
  libcxx/test/std/numerics/bit/bit.pow.two/log2p1.pass.cpp
  libcxx/test/std/numerics/bit/bit.pow.two/p1956_backwards_compatibility.pass.cpp
  libcxx/utils/generate_feature_test_macro_components.py
  libcxx/www/cxx2a_status.html

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90551.302138.patch
Type: text/x-patch
Size: 36221 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20201101/7955e970/attachment-0001.bin>


More information about the libcxx-commits mailing list