diff options
author | Louis Dionne <ldionne.2@gmail.com> | 2025-01-27 12:41:00 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-27 12:41:00 -0500 |
commit | 88cca8ea209bb034eaec6af09a0227fb8cc7303e (patch) | |
tree | 20e68eab4f19a3d76af84e9b9e5e45ce388cfe1a /libcxx/src/algorithm.cpp | |
parent | 658f8500c84fcdcfbf5470ae7b4f732ef4a3c32f (diff) | |
download | llvm-88cca8ea209bb034eaec6af09a0227fb8cc7303e.zip llvm-88cca8ea209bb034eaec6af09a0227fb8cc7303e.tar.gz llvm-88cca8ea209bb034eaec6af09a0227fb8cc7303e.tar.bz2 |
[libc++] Add more missing bits to the locale base API (#122531)
This patch adds the following pieces to the locale base API:
- __setlocale (for std::setlocale)
- __lconv_t (for std::lconv)
- _LIBCPP_FOO_MASK and _LIBCPP_LC_ALL
This should be sufficient to implement all of the platform-agnostic
localization support in libc++ without relying directly on any public
API names from the C library. This makes it possible to port libc++ to
platforms that don't provide the usual locale APIs.
Diffstat (limited to 'libcxx/src/algorithm.cpp')
0 files changed, 0 insertions, 0 deletions