[all-commits] [llvm/llvm-project] e7f797: [libc] Migrate wctype_utils to use wchar_t where a...

Alexey Samsonov via All-commits all-commits at lists.llvm.org
Wed Nov 5 11:03:49 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e7f7973899f76773ae6e9a6b1e8c7e9f9cc5cb56
      https://github.com/llvm/llvm-project/commit/e7f7973899f76773ae6e9a6b1e8c7e9f9cc5cb56
  Author: Alexey Samsonov <vonosmas at gmail.com>
  Date:   2025-11-05 (Wed, 05 Nov 2025)

  Changed paths:
    M libc/src/__support/CMakeLists.txt
    M libc/src/__support/wctype_utils.h
    M libc/src/wctype/iswalpha.cpp
    M libc/test/src/wchar/WcstolTest.h
    M utils/bazel/llvm-project-overlay/libc/BUILD.bazel

  Log Message:
  -----------
  [libc] Migrate wctype_utils to use wchar_t where applicable. (#166234)

This is a counterpart of
https://github.com/llvm/llvm-project/pull/166225 but for wctype_utils
(which are not yet widely used). For now, I'm just changing the types
from wint_t to wchar_t to match the regular ctype_utils change. The next
change may rename most of the functions to match the name of ctype_utils
variants, so that we could be calling them from the templated code
operating on "const char*" and "const wchar_t*" strings, and the right
function signature would be picked up.



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