[all-commits] [llvm/llvm-project] 1a036e: [libcxx] Implement P1956 rename low-level bit func...

mordante via All-commits all-commits at lists.llvm.org
Tue Nov 24 08:37:27 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1a036e9cc82a7f6d6f4675d631fa5eecd8748784
      https://github.com/llvm/llvm-project/commit/1a036e9cc82a7f6d6f4675d631fa5eecd8748784
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2020-11-24 (Tue, 24 Nov 2020)

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

  Log Message:
  -----------
  [libcxx] Implement P1956 rename low-level bit functions

Implements 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?

Reviewed By: ldionne, #libc

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




More information about the All-commits mailing list