summaryrefslogtreecommitdiff
path: root/utils/bazel
diff options
context:
space:
mode:
authorAlexey Samsonov <vonosmas@gmail.com>2025-11-13 11:38:33 -0800
committerGitHub <noreply@github.com>2025-11-13 11:38:33 -0800
commite797ec64768d290427e4f2545f1ae42302d7cfaa (patch)
tree78a766443da4c45d88f0394aab9b1cc34be32b58 /utils/bazel
parent12edc56f2b5977c3b366ddd2e6062c0ca2950e45 (diff)
[libc] Templatize strtofloatingpoint and implement wcstof. (#167755)
This change follows the pattern of 315dfe5865962d8a3d60e21d1fffce5214fe54ef by making strtofloat also accept wchar_t* strings (in addition to regular char*). It uses overloads from wctype_utils or specialized functions to ensure comparison with literal characters (or literal strings) pick char or wchar_t variants based on the argument type. The wcstof implementation is added, with unit test cases copied from strtof test suite.
Diffstat (limited to 'utils/bazel')
-rw-r--r--utils/bazel/llvm-project-overlay/libc/BUILD.bazel1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
index ecd11b91d0d8..788c6570081a 100644
--- a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
@@ -1025,6 +1025,7 @@ libc_support_library(
":__support_str_to_integer",
":__support_str_to_num_result",
":__support_uint128",
+ ":__support_wctype_utils",
":hdr_errno_macros",
],
)