[all-commits] [llvm/llvm-project] 78d8ab: [libc] Initial support for 'locale.h' in the LLVM ...

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


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 78d8ab2ab9e9f48e72597b5642285a5bbfcb75a5
      https://github.com/llvm/llvm-project/commit/78d8ab2ab9e9f48e72597b5642285a5bbfcb75a5
  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
    A libc/newhdrgen/yaml/locale.yaml
    M libc/spec/stdc.td
    M libc/src/CMakeLists.txt
    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] Initial support for 'locale.h' in the LLVM libc (#102689)

Summary:
This patch adds the macros and entrypoints associated with the
`locale.h` entrypoints.  These are mostly stubs, as we (for now and the
forseeable future) only expect to support the C and maybe C.UTF-8
locales in the LLVM libc.



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