File tree Expand file tree Collapse file tree 6 files changed +32
-3
lines changed Expand file tree Collapse file tree 6 files changed +32
-3
lines changed Original file line number Diff line number Diff line change @@ -221,6 +221,8 @@ add_proxy_header_library(
221221
222222add_header_library(wchar_overlay HDRS wchar_overlay.h)
223223
224+ add_header_library(uchar_overlay HDRS uchar_overlay.h)
225+
224226add_proxy_header_library(
225227 wchar_macros
226228 HDRS
Original file line number Diff line number Diff line change 1+ add_proxy_header_library(
2+ char8_t
3+ HDRS
4+ char8_t.h
5+ DEPENDS
6+ libc.hdr.uchar_overlay
7+ FULL_BUILD_DEPENDS
8+ libc.include .llvm-libc-types.char8_t
9+ libc.include .uchar
10+ )
11+
12+ add_proxy_header_library(
13+ char32_t
14+ HDRS
15+ char32_t.h
16+ DEPENDS
17+ libc.hdr.uchar_overlay
18+ FULL_BUILD_DEPENDS
19+ libc.include .llvm-libc-types.char32_t
20+ libc.include .uchar
21+ )
22+
123add_proxy_header_library(
224 div_t
325 HDRS
Original file line number Diff line number Diff line change 99#ifndef LLVM_LIBC_TYPES_CHAR8_T_H
1010#define LLVM_LIBC_TYPES_CHAR8_T_H
1111
12- #if !defined(__cplusplus ) && defined(__STDC_VERSION__ ) && \
13- __STDC_VERSION__ >= 202311L
12+ #if !(defined(__cplusplus ) && defined(__cpp_char8_t ))
1413typedef unsigned char char8_t ;
1514#endif
1615
Original file line number Diff line number Diff line change @@ -391,4 +391,6 @@ add_subdirectory(fixed_point)
391391
392392add_subdirectory (time)
393393
394+ add_subdirectory (wchar)
395+
394396add_subdirectory (math)
Original file line number Diff line number Diff line change 1010#define LLVM_LIBC_SRC___SUPPORT_MBSTATE_H
1111
1212#include " hdr/types/char32_t.h"
13+ #include " src/__support/common.h"
1314#include < stdint.h>
1415
1516namespace LIBC_NAMESPACE_DECL {
Original file line number Diff line number Diff line change 99#ifndef LLVM_LIBC_SRC___SUPPORT_UTF_RET_H
1010#define LLVM_LIBC_SRC___SUPPORT_UTF_RET_H
1111
12- namespace LIBC_NAMESPACE_DECL {
12+ # include " src/__support/common.h "
1313
14+ namespace LIBC_NAMESPACE_DECL {
15+ namespace internal {
1416template <typename T> struct utf_ret {
1517 T out;
1618 int error;
1719};
1820
21+ } // namespace internal
1922} // namespace LIBC_NAMESPACE_DECL
2023
2124#endif // LLVM_LIBC_SRC___SUPPORT_UTF_RET_H
You can’t perform that action at this time.
0 commit comments