[libc-commits] [PATCH] D136802: [libc] add locale free strcoll

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Wed Oct 26 16:15:16 PDT 2022


michaelrj created this revision.
michaelrj added reviewers: sivachandra, lntue.
Herald added subscribers: libc-commits, ecnelises, tschuett.
Herald added projects: libc-project, All.
michaelrj requested review of this revision.

The strcoll function is intended to compare strings based on their
ordering in the current locale. Since the locale facilities have not yet
been added, a simple implementation that is the same as strcmp has been
added as a placeholder.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D136802

Files:
  libc/config/linux/x86_64/entrypoints.txt
  libc/src/string/CMakeLists.txt
  libc/src/string/strcoll.cpp
  libc/src/string/strcoll.h
  libc/test/src/string/CMakeLists.txt
  libc/test/src/string/strcoll_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136802.470964.patch
Type: text/x-patch
Size: 3930 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20221026/89c82964/attachment-0001.bin>


More information about the libc-commits mailing list