[libc-commits] [PATCH] D145995: [libc] add basic wide char functions

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Mon Mar 13 15:33:15 PDT 2023


michaelrj created this revision.
michaelrj added reviewers: sivachandra, lntue.
Herald added subscribers: libc-commits, ecnelises, tschuett.
Herald added projects: libc-project, All.
michaelrj requested review of this revision.

This patch adds the wchar header, as well as the functions to convert to
and from wide chars. The header also sets up the definitions for wint
and wchar.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D145995

Files:
  libc/config/linux/x86_64/entrypoints.txt
  libc/config/linux/x86_64/headers.txt
  libc/include/CMakeLists.txt
  libc/include/llvm-libc-macros/CMakeLists.txt
  libc/include/llvm-libc-macros/wchar-macros.h
  libc/include/wchar.h.def
  libc/spec/spec.td
  libc/spec/stdc.td
  libc/src/CMakeLists.txt
  libc/src/__support/CMakeLists.txt
  libc/src/__support/wctype_utils.h
  libc/src/wchar/CMakeLists.txt
  libc/src/wchar/btowc.cpp
  libc/src/wchar/btowc.h
  libc/src/wchar/wctob.cpp
  libc/src/wchar/wctob.h
  libc/test/src/CMakeLists.txt
  libc/test/src/wchar/CMakeLists.txt
  libc/test/src/wchar/btowc_test.cpp
  libc/test/src/wchar/wctob_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145995.504869.patch
Type: text/x-patch
Size: 13162 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230313/6aa22877/attachment.bin>


More information about the libc-commits mailing list