[all-commits] [llvm/llvm-project] f418f8: [libc] add locale free strcoll

michaelrj-google via All-commits all-commits at lists.llvm.org
Fri Oct 28 11:13:20 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f418f88824905c372cb9252b3f675012a3fc799d
      https://github.com/llvm/llvm-project/commit/f418f88824905c372cb9252b3f675012a3fc799d
  Author: Michael Jones <michaelrj at google.com>
  Date:   2022-10-28 (Fri, 28 Oct 2022)

  Changed paths:
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/src/string/CMakeLists.txt
    A libc/src/string/strcoll.cpp
    A libc/src/string/strcoll.h
    M libc/test/src/string/CMakeLists.txt
    A libc/test/src/string/strcoll_test.cpp

  Log Message:
  -----------
  [libc] add locale free strcoll

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.

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D136802




More information about the All-commits mailing list