diff options
author | Connector Switch <c8ef@outlook.com> | 2025-03-12 10:49:04 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-12 10:49:04 +0800 |
commit | ab22f652a4dfcaf5b6884a85e498d7ca077937ca (patch) | |
tree | ccdcf0d2f3d612ff8060c4ace754976569b3f508 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | c12761858c72419051225a06c6511ad0cced08b1 (diff) | |
download | llvm-ab22f652a4dfcaf5b6884a85e498d7ca077937ca.zip llvm-ab22f652a4dfcaf5b6884a85e498d7ca077937ca.tar.gz llvm-ab22f652a4dfcaf5b6884a85e498d7ca077937ca.tar.bz2 |
[libc] implement `strings/str{n}casecmp_l` (#130407)
ref:
https://pubs.opengroup.org/onlinepubs/9799919799/functions/strcasecmp_l.html
This patch introduces the `strcasecmp_l` function. At present, the
locale parameter is ignored, making it a stub implementation. This is
consistent with how other locale-related functions, such as `islower_l`,
are treated in our codebase as well as in
[musl](https://github.com/bminor/musl/blob/master/src/string/strcasecmp.c)
and
[bionic](https://cs.android.com/android/platform/superproject/main/+/main:bionic/libc/bionic/strings_l.cpp).
---------
Co-authored-by: Michael Jones <michaelrj@google.com>
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions