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

Joseph Huber via All-commits all-commits at lists.llvm.org
Thu Aug 22 11:52:26 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 856dadb33c38f4e3be592f11c3d67e7337e288c7
      https://github.com/llvm/llvm-project/commit/856dadb33c38f4e3be592f11c3d67e7337e288c7
  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/linux/x86_64/entrypoints.txt
    M libc/include/CMakeLists.txt
    M libc/newhdrgen/yaml/ctype.yaml
    M libc/spec/stdc.td
    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

  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.


  Commit: c2a96a243b26d93090b859f851f8c219cffeaeaa
      https://github.com/llvm/llvm-project/commit/c2a96a243b26d93090b859f851f8c219cffeaeaa
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-08-22 (Thu, 22 Aug 2024)

  Changed paths:
    M libc/spec/stdc.td

  Log Message:
  -----------
  [libc] Fix locale structs with old headergen


Compare: https://github.com/llvm/llvm-project/compare/a7c8f41f2bec...c2a96a243b26

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