Skip to content

[libc++][modules] Support using the module std with -fno-char8_t. #79155

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 30, 2024
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
2 changes: 2 additions & 0 deletions libcxx/modules/std/atomic.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 2 additions & 0 deletions libcxx/modules/std/iosfwd.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 4 additions & 0 deletions libcxx/modules/std/string.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 2 additions & 0 deletions libcxx/modules/std/string_view.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down