[all-commits] [llvm/llvm-project] 6c4267: [libcxx][libc] Hand in Hand PoC with from_chars (#...

Michael Jones via All-commits all-commits at lists.llvm.org
Mon Oct 21 15:04:28 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6c4267fb1779bc5550bb413f33250f9365acfbc6
      https://github.com/llvm/llvm-project/commit/6c4267fb1779bc5550bb413f33250f9365acfbc6
  Author: Michael Jones <michaelrj at google.com>
  Date:   2024-10-21 (Mon, 21 Oct 2024)

  Changed paths:
    A libc/shared/fp_bits.h
    A libc/shared/str_to_float.h
    A libc/shared/str_to_integer.h
    M libc/src/__support/FPUtil/FPBits.h
    M libc/src/__support/high_precision_decimal.h
    M libc/src/__support/str_to_float.h
    M libc/src/__support/str_to_integer.h
    M libc/src/__support/str_to_num_result.h
    M libcxx/docs/Status/Cxx17Papers.csv
    M libcxx/docs/Status/Cxx2cIssues.csv
    M libcxx/include/CMakeLists.txt
    A libcxx/include/__charconv/from_chars_floating_point.h
    M libcxx/include/__configuration/availability.h
    M libcxx/include/charconv
    M libcxx/include/module.modulemap
    M libcxx/lib/abi/CHANGELOG.TXT
    M libcxx/lib/abi/arm64-apple-darwin.libcxxabi.v1.stable.exceptions.nonew.abilist
    M libcxx/lib/abi/i686-linux-android21.libcxxabi.v1.stable.exceptions.nonew.abilist
    M libcxx/lib/abi/powerpc-ibm-aix.libcxxabi.v1.stable.exceptions.nonew.abilist
    M libcxx/lib/abi/powerpc64-ibm-aix.libcxxabi.v1.stable.exceptions.nonew.abilist
    M libcxx/lib/abi/x86_64-apple-darwin.libcxxabi.v1.stable.exceptions.nonew.abilist
    M libcxx/lib/abi/x86_64-linux-android21.libcxxabi.v1.stable.exceptions.nonew.abilist
    M libcxx/lib/abi/x86_64-unknown-freebsd.libcxxabi.v1.stable.exceptions.nonew.abilist
    M libcxx/lib/abi/x86_64-unknown-linux-gnu.libcxxabi.v1.stable.exceptions.nonew.abilist
    M libcxx/lib/abi/x86_64-unknown-linux-gnu.libcxxabi.v1.stable.noexceptions.nonew.abilist
    M libcxx/src/CMakeLists.txt
    M libcxx/src/charconv.cpp
    A libcxx/src/include/from_chars_floating_point.h
    A libcxx/test/std/utilities/charconv/charconv.from.chars/floating_point.pass.cpp
    M libcxx/test/std/utilities/charconv/charconv.msvc/test.cpp
    M libcxx/test/std/utilities/charconv/charconv.msvc/test.pass.cpp
    M libcxx/test/support/charconv_test_helpers.h
    M libcxx/test/support/test_macros.h
    M libcxx/utils/libcxx/test/features.py
    A runtimes/cmake/Modules/FindLibcCommonUtils.cmake
    M utils/bazel/llvm-project-overlay/libc/BUILD.bazel

  Log Message:
  -----------
  [libcxx][libc] Hand in Hand PoC with from_chars (#91651)

Implements std::from_chars for float and double.

The implementation uses LLVM-libc to do the real parsing. Since this is
the first time libc++
uses LLVM-libc there is a bit of additional infrastructure code. The
patch is based on the
[RFC] Project Hand In Hand (LLVM-libc/libc++ code sharing)

https://discourse.llvm.org/t/rfc-project-hand-in-hand-llvm-libc-libc-code-sharing/77701



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list