[all-commits] [llvm/llvm-project] 8f005f: [libc] Add `ctype.h` locale variants (#102711)

Joseph Huber via All-commits all-commits at lists.llvm.org
Thu Aug 22 10:41:43 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8f005f8306dc52577b3b9482d271fb463f0152a5
      https://github.com/llvm/llvm-project/commit/8f005f8306dc52577b3b9482d271fb463f0152a5
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-08-22 (Thu, 22 Aug 2024)

  Changed paths:
    M libc/config/gpu/entrypoints.txt
    M libc/config/gpu/headers.txt
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/config/linux/x86_64/headers.txt
    M libc/hdr/types/CMakeLists.txt
    A libc/hdr/types/locale_t.h
    M libc/include/CMakeLists.txt
    M libc/include/llvm-libc-macros/CMakeLists.txt
    A libc/include/llvm-libc-macros/locale-macros.h
    M libc/include/llvm-libc-types/CMakeLists.txt
    A libc/include/llvm-libc-types/locale_t.h
    A libc/include/llvm-libc-types/struct_lconv.h
    A libc/include/locale.h.def
    M libc/newhdrgen/yaml/ctype.yaml
    A libc/newhdrgen/yaml/locale.yaml
    M libc/spec/stdc.td
    M libc/src/CMakeLists.txt
    M libc/src/ctype/CMakeLists.txt
    M libc/src/ctype/isalnum.cpp
    A libc/src/ctype/isalnum_l.cpp
    A libc/src/ctype/isalnum_l.h
    M libc/src/ctype/isalpha.cpp
    A libc/src/ctype/isalpha_l.cpp
    A libc/src/ctype/isalpha_l.h
    M libc/src/ctype/isblank.cpp
    A libc/src/ctype/isblank_l.cpp
    A libc/src/ctype/isblank_l.h
    M libc/src/ctype/iscntrl.cpp
    A libc/src/ctype/iscntrl_l.cpp
    A libc/src/ctype/iscntrl_l.h
    M libc/src/ctype/isdigit.cpp
    A libc/src/ctype/isdigit_l.cpp
    A libc/src/ctype/isdigit_l.h
    M libc/src/ctype/isgraph.cpp
    A libc/src/ctype/isgraph_l.cpp
    A libc/src/ctype/isgraph_l.h
    M libc/src/ctype/islower.cpp
    A libc/src/ctype/islower_l.cpp
    A libc/src/ctype/islower_l.h
    M libc/src/ctype/isprint.cpp
    A libc/src/ctype/isprint_l.cpp
    A libc/src/ctype/isprint_l.h
    M libc/src/ctype/ispunct.cpp
    A libc/src/ctype/ispunct_l.cpp
    A libc/src/ctype/ispunct_l.h
    M libc/src/ctype/isspace.cpp
    A libc/src/ctype/isspace_l.cpp
    A libc/src/ctype/isspace_l.h
    M libc/src/ctype/isupper.cpp
    A libc/src/ctype/isupper_l.cpp
    A libc/src/ctype/isupper_l.h
    M libc/src/ctype/isxdigit.cpp
    A libc/src/ctype/isxdigit_l.cpp
    A libc/src/ctype/isxdigit_l.h
    M libc/src/ctype/tolower.cpp
    A libc/src/ctype/tolower_l.cpp
    A libc/src/ctype/tolower_l.h
    M libc/src/ctype/toupper.cpp
    A libc/src/ctype/toupper_l.cpp
    A libc/src/ctype/toupper_l.h
    A libc/src/locale/CMakeLists.txt
    A libc/src/locale/duplocale.cpp
    A libc/src/locale/duplocale.h
    A libc/src/locale/freelocale.cpp
    A libc/src/locale/freelocale.h
    A libc/src/locale/locale.cpp
    A libc/src/locale/locale.h
    A libc/src/locale/localeconv.cpp
    A libc/src/locale/localeconv.h
    A libc/src/locale/newlocale.cpp
    A libc/src/locale/newlocale.h
    A libc/src/locale/setlocale.cpp
    A libc/src/locale/setlocale.h
    A libc/src/locale/uselocale.cpp
    A libc/src/locale/uselocale.h
    M libc/test/src/CMakeLists.txt
    A libc/test/src/locale/CMakeLists.txt
    A libc/test/src/locale/locale_test.cpp
    A libc/test/src/locale/localeconv_test.cpp

  Log Message:
  -----------
   [libc] Add `ctype.h` locale variants (#102711)

Summary:
This patch adds all the libc ctype variants. These ignore the locale
ingormation completely, so they're pretty much just stubs. Because these
use locale information, which is system scope, we do not enable building
them outisde of full build mode.



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