[all-commits] [llvm/llvm-project] d00a49: [libc] Add iswctype and wctype (#191178)

Elio via All-commits all-commits at lists.llvm.org
Fri Apr 17 03:52:42 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d00a49fc3495f260d8b3125b5d9f4e263ac13166
      https://github.com/llvm/llvm-project/commit/d00a49fc3495f260d8b3125b5d9f4e263ac13166
  Author: Elio <xiongzile at bytedance.com>
  Date:   2026-04-17 (Fri, 17 Apr 2026)

  Changed paths:
    M libc/config/baremetal/arm/entrypoints.txt
    M libc/config/baremetal/riscv/entrypoints.txt
    M libc/config/darwin/aarch64/entrypoints.txt
    M libc/config/linux/aarch64/entrypoints.txt
    M libc/config/linux/arm/entrypoints.txt
    M libc/config/linux/riscv/entrypoints.txt
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/config/windows/entrypoints.txt
    M libc/hdr/types/CMakeLists.txt
    A libc/hdr/types/wctype_t.h
    A libc/hdr/wctype_overlay.h
    M libc/include/CMakeLists.txt
    M libc/include/llvm-libc-types/CMakeLists.txt
    A libc/include/llvm-libc-types/wctype_t.h
    M libc/include/wctype.yaml
    M libc/src/__support/wctype_utils.h
    M libc/src/wctype/CMakeLists.txt
    A libc/src/wctype/iswctype.cpp
    A libc/src/wctype/iswctype.h
    A libc/src/wctype/wctype.cpp
    A libc/src/wctype/wctype.h
    M libc/test/src/__support/wctype_utils_test.cpp
    M libc/test/src/wctype/CMakeLists.txt
    A libc/test/src/wctype/iswctype_test.cpp
    A libc/test/src/wctype/wctype_test.cpp

  Log Message:
  -----------
  [libc] Add iswctype and wctype (#191178)

Implement the iswctype and wctype functions from <wctype.h>.

- Add wctype_t type definition.
- Implement wctype to map property strings to classification
descriptors.
- Implement iswctype as a dispatcher over existing wide character
classification functions.
- Add corresponding entrypoints and unit tests.

Refs: https://github.com/llvm/llvm-project/issues/191076

---------

Co-authored-by: Zile Xiong <xiongzile99 at gmail.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