Skip to content
Open
Show file tree
Hide file tree
Changes from 9 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/include/__config
Original file line number Diff line number Diff line change
Expand Up @@ -1027,6 +1027,8 @@ typedef __char32_t char32_t;
# else
# define _LIBCPP_HAS_C8RTOMB_MBRTOC8 0
# endif
# elif defined(__clang__)
# define _LIBCPP_HAS_C8RTOMB_MBRTOC8 1
# else
# define _LIBCPP_HAS_C8RTOMB_MBRTOC8 0
# endif
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
// Apple platforms don't provide <uchar.h> yet, so these tests fail.
// XFAIL: target={{.+}}-apple-{{.+}}

// The following platforms do not provide mbrtoc8 and c8rtomb so the tests fail
// XFAIL: aix
// XFAIL: freebsd
// XFAIL: windows

// mbrtoc16 not defined.
// XFAIL: LIBCXX-PICOLIBC-FIXME

Expand Down
5 changes: 5 additions & 0 deletions libcxx/test/std/strings/c.strings/cuchar.compile.pass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
// Apple platforms don't provide <uchar.h> yet, so these tests fail.
// XFAIL: target={{.+}}-apple-{{.+}}

// The following platforms do not provide mbrtoc8 and c8rtomb so the tests fail
// XFAIL: aix
// XFAIL: freebsd
// XFAIL: windows

// mbrtoc16 not defined.
// XFAIL: LIBCXX-PICOLIBC-FIXME

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@

// UNSUPPORTED: c++03

// The following platforms do not provide mbrtoc8 and c8rtomb so the tests fail
// XFAIL: aix
// XFAIL: darwin
// XFAIL: freebsd
// XFAIL: windows
// XFAIL: LIBCXX-PICOLIBC-FIXME

#include <uchar.h>

#include "test_macros.h"
Expand Down
1 change: 1 addition & 0 deletions libcxx/utils/libcxx/test/features.py
Original file line number Diff line number Diff line change
Expand Up @@ -669,6 +669,7 @@ def _getLocaleFlagsAction(cfg, locale, alts, members):
""",
),
),
Feature(name="aix", when=lambda cfg: "_AIX" in compilerMacros(cfg)),
]

# Add features representing the build host platform name.
Expand Down
Loading