[all-commits] [llvm/llvm-project] 631a6e: [libc][wchar] implement wcslen (#124150)

Nick Desaulniers via All-commits all-commits at lists.llvm.org
Thu Jan 23 13:33:26 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 631a6e0004e57ca85569b99ea411418627925697
      https://github.com/llvm/llvm-project/commit/631a6e0004e57ca85569b99ea411418627925697
  Author: Nick Desaulniers <ndesaulniers at google.com>
  Date:   2025-01-23 (Thu, 23 Jan 2025)

  Changed paths:
    M libc/config/gpu/amdgpu/entrypoints.txt
    M libc/config/gpu/nvptx/entrypoints.txt
    M libc/config/linux/aarch64/entrypoints.txt
    M libc/config/linux/riscv/entrypoints.txt
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/include/wchar.yaml
    M libc/src/string/CMakeLists.txt
    M libc/src/string/string_utils.h
    M libc/src/wchar/CMakeLists.txt
    A libc/src/wchar/wcslen.cpp
    A libc/src/wchar/wcslen.h
    M libc/test/src/wchar/CMakeLists.txt
    A libc/test/src/wchar/wcslen_test.cpp

  Log Message:
  -----------
  [libc][wchar] implement wcslen (#124150)

Update string_utils' string_length to work with char* or wchar_t*, so that it
may be reusable when implementing wmemchr, wcspbrk, wcsrchr, wcsstr.

Link: #121183
Link: #124027

Co-authored-by: Nick Desaulniers <ndesaulniers at google.com>

---------

Co-authored-by: Tristan Ross <tristan.ross at midstall.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list