[all-commits] [llvm/llvm-project] 46b508: [libc] add basic wide char functions
michaelrj-google via All-commits
all-commits at lists.llvm.org
Mon Mar 20 16:36:35 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 46b5087227246c9f89569af3a96126d85c87bbc4
https://github.com/llvm/llvm-project/commit/46b5087227246c9f89569af3a96126d85c87bbc4
Author: Michael Jones <michaelrj at google.com>
Date: 2023-03-20 (Mon, 20 Mar 2023)
Changed paths:
M libc/config/linux/api.td
M libc/config/linux/x86_64/entrypoints.txt
M libc/config/linux/x86_64/headers.txt
M libc/include/CMakeLists.txt
M libc/include/llvm-libc-macros/CMakeLists.txt
A libc/include/llvm-libc-macros/wchar-macros.h
M libc/include/llvm-libc-types/CMakeLists.txt
M libc/include/llvm-libc-types/size_t.h
A libc/include/llvm-libc-types/wchar_t.h
A libc/include/llvm-libc-types/wint_t.h
A libc/include/wchar.h.def
M libc/spec/spec.td
M libc/spec/stdc.td
M libc/src/CMakeLists.txt
M libc/src/__support/CMakeLists.txt
A libc/src/__support/wctype_utils.h
A libc/src/wchar/CMakeLists.txt
A libc/src/wchar/btowc.cpp
A libc/src/wchar/btowc.h
A libc/src/wchar/wctob.cpp
A libc/src/wchar/wctob.h
M libc/test/src/CMakeLists.txt
A libc/test/src/wchar/CMakeLists.txt
A libc/test/src/wchar/btowc_test.cpp
A libc/test/src/wchar/wctob_test.cpp
Log Message:
-----------
[libc] add basic wide char functions
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.
Reviewed By: lntue
Differential Revision: https://reviews.llvm.org/D145995
More information about the All-commits
mailing list