Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions libc/config/linux/x86_64/entrypoints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1266,9 +1266,6 @@ if(LLVM_LIBC_FULL_BUILD)
libc.src.wchar.mbrlen
libc.src.wchar.mbrtowc
libc.src.wchar.mbtowc
libc.src.wchar.mbstowcs
libc.src.wchar.mbsrtowcs
libc.src.wchar.mbsnrtowcs
libc.src.wchar.wcrtomb
libc.src.wchar.wctomb
libc.src.wchar.wcstombs
Expand Down
27 changes: 0 additions & 27 deletions libc/include/wchar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,33 +53,6 @@ functions:
- type: wchar_t *__restrict
- type: const char *__restrict
- type: size_t
- name: mbsnrtowcs
standards:
- stdc
return_type: size_t
arguments:
- type: wchar_t *__restrict
- type: const char **__restrict
- type: size_t
- type: size_t
- type: mbstate_t *__restrict
- name: mbsrtowcs
standards:
- stdc
return_type: size_t
arguments:
- type: wchar_t *__restrict
- type: const char **__restrict
- type: size_t
- type: mbstate_t *__restrict
- name: mbstowcs
standards:
- stdc
return_type: size_t
arguments:
- type: wchar_t *__restrict
- type: const char *__restrict
- type: size_t
- name: mblen
standards:
- stdc
Expand Down
33 changes: 8 additions & 25 deletions libc/src/__support/wchar/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,31 +60,14 @@ add_object_library(
SRCS
mbrtowc.cpp
DEPENDS
libc.hdr.errno_macros
libc.hdr.types.wchar_t
libc.hdr.types.size_t
libc.src.__support.common
libc.src.__support.error_or
libc.src.__support.macros.config
.character_converter
.mbstate
)

add_header_library(
mbsnrtowcs
HDRS
mbsnrtowcs.h
DEPENDS
libc.hdr.errno_macros
libc.hdr.types.wchar_t
libc.hdr.types.size_t
libc.src.__support.common
libc.src.__support.error_or
libc.src.__support.macros.config
libc.src.__support.macros.null_check
.character_converter
.mbstate
.string_converter
libc.hdr.errno_macros
libc.hdr.types.wchar_t
libc.hdr.types.size_t
libc.src.__support.common
libc.src.__support.error_or
libc.src.__support.macros.config
.character_converter
.mbstate
)

add_header_library(
Expand Down
66 changes: 0 additions & 66 deletions libc/src/__support/wchar/mbsnrtowcs.h

This file was deleted.

48 changes: 0 additions & 48 deletions libc/src/wchar/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -169,54 +169,6 @@ add_entrypoint_object(
libc.src.__support.wchar.mbstate
)

add_entrypoint_object(
mbstowcs
SRCS
mbstowcs.cpp
HDRS
mbstowcs.h
DEPENDS
libc.hdr.types.size_t
libc.hdr.types.wchar_t
libc.src.__support.common
libc.src.__support.macros.config
libc.src.__support.libc_errno
libc.src.__support.wchar.mbstate
libc.src.__support.wchar.mbsnrtowcs
)

add_entrypoint_object(
mbsrtowcs
SRCS
mbsrtowcs.cpp
HDRS
mbsrtowcs.h
DEPENDS
libc.hdr.types.size_t
libc.hdr.types.wchar_t
libc.src.__support.common
libc.src.__support.macros.config
libc.src.__support.libc_errno
libc.src.__support.wchar.mbstate
libc.src.__support.wchar.mbsnrtowcs
)

add_entrypoint_object(
mbsnrtowcs
SRCS
mbsnrtowcs.cpp
HDRS
mbsnrtowcs.h
DEPENDS
libc.hdr.types.size_t
libc.hdr.types.wchar_t
libc.src.__support.common
libc.src.__support.macros.config
libc.src.__support.libc_errno
libc.src.__support.wchar.mbstate
libc.src.__support.wchar.mbsnrtowcs
)

add_entrypoint_object(
wcstombs
SRCS
Expand Down
39 changes: 0 additions & 39 deletions libc/src/wchar/mbsnrtowcs.cpp

This file was deleted.

24 changes: 0 additions & 24 deletions libc/src/wchar/mbsnrtowcs.h

This file was deleted.

39 changes: 0 additions & 39 deletions libc/src/wchar/mbsrtowcs.cpp

This file was deleted.

24 changes: 0 additions & 24 deletions libc/src/wchar/mbsrtowcs.h

This file was deleted.

38 changes: 0 additions & 38 deletions libc/src/wchar/mbstowcs.cpp

This file was deleted.

22 changes: 0 additions & 22 deletions libc/src/wchar/mbstowcs.h

This file was deleted.

Loading
Loading