[all-commits] [llvm/llvm-project] 56a33b: [libc++] Implement P0154R1 (Hardware inference size)

philnik777 via All-commits all-commits at lists.llvm.org
Wed Jun 22 16:31:38 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 56a33ba3dd2bfd411e77946871814e98d92ec2fa
      https://github.com/llvm/llvm-project/commit/56a33ba3dd2bfd411e77946871814e98d92ec2fa
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2022-06-23 (Thu, 23 Jun 2022)

  Changed paths:
    M libcxx/docs/FeatureTestMacroTable.rst
    M libcxx/docs/ReleaseNotes.rst
    M libcxx/docs/Status/Cxx17.rst
    M libcxx/docs/Status/Cxx17Papers.csv
    M libcxx/include/new
    M libcxx/include/version
    A libcxx/test/std/language.support/support.dynamic/hardware_inference_size.compile.pass.cpp
    M libcxx/test/std/language.support/support.limits/support.limits.general/new.version.compile.pass.cpp
    M libcxx/test/std/language.support/support.limits/support.limits.general/version.version.compile.pass.cpp
    M libcxx/utils/generate_feature_test_macro_components.py

  Log Message:
  -----------
  [libc++] Implement P0154R1 (Hardware inference size)

`__GCC_CONSTRUCTIVE_SIZE` and `__GCC_DESTRUCTIVE_SIZE` are available since GCC 12. I'm assuming clang will also implement these for compatability with libstdc++.

Reviewed By: ldionne, #libc

Spies: h-vetinari, libcxx-commits, arichardson

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




More information about the All-commits mailing list