diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2024-02-07 14:58:02 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2024-04-06 20:14:07 +0000 |
commit | b3edf4467982447620505a28fc82e38a414c07dc (patch) | |
tree | 3bbe0ab71c23f020abf58f17f1f43e1dcdaca7c5 /contrib/llvm-project/libcxx/modules | |
parent | 868ee3f2855615016ba87c14b9444c18a2e1ba30 (diff) | |
parent | 4fdf604ba667503ae582304cebdd3df426778a6b (diff) |
Diffstat (limited to 'contrib/llvm-project/libcxx/modules')
4 files changed, 10 insertions, 0 deletions
diff --git a/contrib/llvm-project/libcxx/modules/std/atomic.inc b/contrib/llvm-project/libcxx/modules/std/atomic.inc index 5139b7531093..88b31ccdb208 100644 --- a/contrib/llvm-project/libcxx/modules/std/atomic.inc +++ b/contrib/llvm-project/libcxx/modules/std/atomic.inc @@ -60,7 +60,9 @@ export namespace std { using std::atomic_char; using std::atomic_char16_t; using std::atomic_char32_t; +#ifndef _LIBCPP_HAS_NO_CHAR8_T using std::atomic_char8_t; +#endif using std::atomic_int; using std::atomic_llong; using std::atomic_long; diff --git a/contrib/llvm-project/libcxx/modules/std/iosfwd.inc b/contrib/llvm-project/libcxx/modules/std/iosfwd.inc index ec8b434ca0c5..410fb6aefed8 100644 --- a/contrib/llvm-project/libcxx/modules/std/iosfwd.inc +++ b/contrib/llvm-project/libcxx/modules/std/iosfwd.inc @@ -14,7 +14,9 @@ export namespace std { #endif using std::u16streampos; using std::u32streampos; +#ifndef _LIBCPP_HAS_NO_CHAR8_T using std::u8streampos; +#endif using std::basic_osyncstream; using std::basic_syncbuf; diff --git a/contrib/llvm-project/libcxx/modules/std/string.inc b/contrib/llvm-project/libcxx/modules/std/string.inc index c83ee7643f87..9808a96215a1 100644 --- a/contrib/llvm-project/libcxx/modules/std/string.inc +++ b/contrib/llvm-project/libcxx/modules/std/string.inc @@ -34,7 +34,9 @@ export namespace std { using std::string; using std::u16string; using std::u32string; +#ifndef _LIBCPP_HAS_NO_CHAR8_T using std::u8string; +#endif #ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS using std::wstring; #endif @@ -58,7 +60,9 @@ export namespace std { using std::pmr::string; using std::pmr::u16string; using std::pmr::u32string; +#ifndef _LIBCPP_HAS_NO_CHAR8_T using std::pmr::u8string; +#endif #ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS using std::pmr::wstring; #endif diff --git a/contrib/llvm-project/libcxx/modules/std/string_view.inc b/contrib/llvm-project/libcxx/modules/std/string_view.inc index 1fa63a773953..f4f9d80ddb83 100644 --- a/contrib/llvm-project/libcxx/modules/std/string_view.inc +++ b/contrib/llvm-project/libcxx/modules/std/string_view.inc @@ -27,7 +27,9 @@ export namespace std { using std::string_view; using std::u16string_view; using std::u32string_view; +#ifndef _LIBCPP_HAS_NO_CHAR8_T using std::u8string_view; +#endif #ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS using std::wstring_view; #endif |