mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-23 13:50:11 +00:00
[libc++] Add incomplete availability markup for std::pmr
This fixes rdar://110330781, which asked for the feature-test macro for std::pmr to take into account the deployment target. It doesn't fix https://llvm.org/PR62212, though, because the availability markup itself must be disabled until some Clang bugs have been fixed. This is pretty vexing, however at least everything should work once those Clang bugs have been fixed. In the meantime, this patch at least adds the required markup (as disabled) and ensures that the feature-test macro for std::pmr is aware of the deployment target requirement. Differential Revision: https://reviews.llvm.org/D135813
This commit is contained in:
parent
db3bbdcd4f
commit
2da049a141
@ -169,6 +169,11 @@
|
||||
// # define _LIBCPP_AVAILABILITY_HAS_NO_VERBOSE_ABORT
|
||||
# define _LIBCPP_AVAILABILITY_VERBOSE_ABORT
|
||||
|
||||
// This controls the availability of the C++17 std::pmr library,
|
||||
// which is implemented in large part in the built library.
|
||||
// # define _LIBCPP_AVAILABILITY_HAS_NO_PMR
|
||||
# define _LIBCPP_AVAILABILITY_PMR
|
||||
|
||||
#elif defined(__APPLE__)
|
||||
|
||||
// shared_mutex and shared_timed_mutex
|
||||
@ -322,6 +327,27 @@
|
||||
# define _LIBCPP_AVAILABILITY_VERBOSE_ABORT \
|
||||
__attribute__((unavailable))
|
||||
|
||||
// std::pmr
|
||||
# if (defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 140000) || \
|
||||
(defined(__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__ < 170000) || \
|
||||
(defined(__ENVIRONMENT_TV_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_TV_OS_VERSION_MIN_REQUIRED__ < 170000) || \
|
||||
(defined(__ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__ < 100000)
|
||||
# define _LIBCPP_AVAILABILITY_HAS_NO_PMR
|
||||
# endif
|
||||
// TODO: Enable std::pmr markup once https://github.com/llvm/llvm-project/issues/40340 has been fixed
|
||||
// Until then, it is possible for folks to try to use `std::pmr` when back-deploying to targets that don't support
|
||||
// it and it'll be a load-time error, but we don't have a good alternative because the library won't compile if we
|
||||
// use availability annotations until that bug has been fixed.
|
||||
# if 0
|
||||
# define _LIBCPP_AVAILABILITY_PMR \
|
||||
__attribute__((availability(macos, strict, introduced = 14.0))) \
|
||||
__attribute__((availability(ios, strict, introduced = 17.0))) \
|
||||
__attribute__((availability(tvos, strict, introduced = 17.0))) \
|
||||
__attribute__((availability(watchos, strict, introduced = 10.0)))
|
||||
# else
|
||||
# define _LIBCPP_AVAILABILITY_PMR
|
||||
# endif
|
||||
|
||||
#else
|
||||
|
||||
// ...New vendors can add availability markup here...
|
||||
|
@ -9,6 +9,7 @@
|
||||
#ifndef _LIBCPP___FWD_MEMORY_RESOURCE_H
|
||||
#define _LIBCPP___FWD_MEMORY_RESOURCE_H
|
||||
|
||||
#include <__availability>
|
||||
#include <__config>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
@ -19,7 +20,7 @@ _LIBCPP_BEGIN_NAMESPACE_STD
|
||||
|
||||
namespace pmr {
|
||||
template <class _ValueType>
|
||||
class _LIBCPP_TEMPLATE_VIS polymorphic_allocator;
|
||||
class _LIBCPP_AVAILABILITY_PMR _LIBCPP_TEMPLATE_VIS polymorphic_allocator;
|
||||
} // namespace pmr
|
||||
|
||||
_LIBCPP_END_NAMESPACE_STD
|
||||
|
@ -9,6 +9,7 @@
|
||||
#ifndef _LIBCPP___FWD_STRING_H
|
||||
#define _LIBCPP___FWD_STRING_H
|
||||
|
||||
#include <__availability>
|
||||
#include <__config>
|
||||
#include <__fwd/memory_resource.h>
|
||||
|
||||
@ -61,21 +62,20 @@ using u32string = basic_string<char32_t>;
|
||||
|
||||
namespace pmr {
|
||||
template <class _CharT, class _Traits = char_traits<_CharT>>
|
||||
using basic_string = std::basic_string<_CharT, _Traits, polymorphic_allocator<_CharT>>;
|
||||
using basic_string _LIBCPP_AVAILABILITY_PMR = std::basic_string<_CharT, _Traits, polymorphic_allocator<_CharT>>;
|
||||
|
||||
using string = basic_string<char>;
|
||||
using string _LIBCPP_AVAILABILITY_PMR = basic_string<char>;
|
||||
|
||||
# ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
|
||||
using wstring = basic_string<wchar_t>;
|
||||
using wstring _LIBCPP_AVAILABILITY_PMR = basic_string<wchar_t>;
|
||||
# endif
|
||||
|
||||
# ifndef _LIBCPP_HAS_NO_CHAR8_T
|
||||
using u8string = basic_string<char8_t>;
|
||||
using u8string _LIBCPP_AVAILABILITY_PMR = basic_string<char8_t>;
|
||||
# endif
|
||||
|
||||
using u16string = basic_string<char16_t>;
|
||||
using u32string = basic_string<char32_t>;
|
||||
|
||||
using u16string _LIBCPP_AVAILABILITY_PMR = basic_string<char16_t>;
|
||||
using u32string _LIBCPP_AVAILABILITY_PMR = basic_string<char32_t>;
|
||||
} // namespace pmr
|
||||
|
||||
#endif // _LIBCPP_STD_VER >= 17
|
||||
|
@ -9,6 +9,7 @@
|
||||
#ifndef _LIBCPP___MEMORY_RESOURCE_MEMORY_RESOURCE_H
|
||||
#define _LIBCPP___MEMORY_RESOURCE_MEMORY_RESOURCE_H
|
||||
|
||||
#include <__availability>
|
||||
#include <__config>
|
||||
#include <cstddef>
|
||||
|
||||
@ -24,7 +25,7 @@ namespace pmr {
|
||||
|
||||
// [mem.res.class]
|
||||
|
||||
class _LIBCPP_EXPORTED_FROM_ABI memory_resource {
|
||||
class _LIBCPP_AVAILABILITY_PMR _LIBCPP_EXPORTED_FROM_ABI memory_resource {
|
||||
static const size_t __max_align = alignof(max_align_t);
|
||||
|
||||
public:
|
||||
@ -51,13 +52,15 @@ private:
|
||||
|
||||
// [mem.res.eq]
|
||||
|
||||
inline _LIBCPP_HIDE_FROM_ABI bool operator==(const memory_resource& __lhs, const memory_resource& __rhs) noexcept {
|
||||
inline _LIBCPP_AVAILABILITY_PMR _LIBCPP_HIDE_FROM_ABI bool
|
||||
operator==(const memory_resource& __lhs, const memory_resource& __rhs) noexcept {
|
||||
return &__lhs == &__rhs || __lhs.is_equal(__rhs);
|
||||
}
|
||||
|
||||
# if _LIBCPP_STD_VER <= 17
|
||||
|
||||
inline _LIBCPP_HIDE_FROM_ABI bool operator!=(const memory_resource& __lhs, const memory_resource& __rhs) noexcept {
|
||||
inline _LIBCPP_AVAILABILITY_PMR _LIBCPP_HIDE_FROM_ABI bool
|
||||
operator!=(const memory_resource& __lhs, const memory_resource& __rhs) noexcept {
|
||||
return !(__lhs == __rhs);
|
||||
}
|
||||
|
||||
@ -65,15 +68,16 @@ inline _LIBCPP_HIDE_FROM_ABI bool operator!=(const memory_resource& __lhs, const
|
||||
|
||||
// [mem.res.global]
|
||||
|
||||
[[__gnu__::__returns_nonnull__]] _LIBCPP_EXPORTED_FROM_ABI memory_resource* get_default_resource() noexcept;
|
||||
[[__gnu__::__returns_nonnull__]] _LIBCPP_AVAILABILITY_PMR _LIBCPP_EXPORTED_FROM_ABI memory_resource*
|
||||
get_default_resource() noexcept;
|
||||
|
||||
[[__gnu__::__returns_nonnull__]] _LIBCPP_EXPORTED_FROM_ABI memory_resource*
|
||||
[[__gnu__::__returns_nonnull__]] _LIBCPP_AVAILABILITY_PMR _LIBCPP_EXPORTED_FROM_ABI memory_resource*
|
||||
set_default_resource(memory_resource*) noexcept;
|
||||
|
||||
[[using __gnu__: __returns_nonnull__, __const__]] _LIBCPP_EXPORTED_FROM_ABI memory_resource*
|
||||
[[using __gnu__: __returns_nonnull__, __const__]] _LIBCPP_AVAILABILITY_PMR _LIBCPP_EXPORTED_FROM_ABI memory_resource*
|
||||
new_delete_resource() noexcept;
|
||||
|
||||
[[using __gnu__: __returns_nonnull__, __const__]] _LIBCPP_EXPORTED_FROM_ABI memory_resource*
|
||||
[[using __gnu__: __returns_nonnull__, __const__]] _LIBCPP_AVAILABILITY_PMR _LIBCPP_EXPORTED_FROM_ABI memory_resource*
|
||||
null_memory_resource() noexcept;
|
||||
|
||||
} // namespace pmr
|
||||
|
@ -9,6 +9,7 @@
|
||||
#ifndef _LIBCPP___MEMORY_RESOURCE_MONOTONIC_BUFFER_RESOURCE_H
|
||||
#define _LIBCPP___MEMORY_RESOURCE_MONOTONIC_BUFFER_RESOURCE_H
|
||||
|
||||
#include <__availability>
|
||||
#include <__config>
|
||||
#include <__memory/addressof.h>
|
||||
#include <__memory_resource/memory_resource.h>
|
||||
@ -26,7 +27,7 @@ namespace pmr {
|
||||
|
||||
// [mem.res.monotonic.buffer]
|
||||
|
||||
class _LIBCPP_EXPORTED_FROM_ABI monotonic_buffer_resource : public memory_resource {
|
||||
class _LIBCPP_AVAILABILITY_PMR _LIBCPP_EXPORTED_FROM_ABI monotonic_buffer_resource : public memory_resource {
|
||||
static const size_t __default_buffer_capacity = 1024;
|
||||
static const size_t __default_buffer_alignment = 16;
|
||||
|
||||
|
@ -10,6 +10,7 @@
|
||||
#define _LIBCPP___MEMORY_RESOURCE_POLYMORPHIC_ALLOCATOR_H
|
||||
|
||||
#include <__assert>
|
||||
#include <__availability>
|
||||
#include <__config>
|
||||
#include <__memory_resource/memory_resource.h>
|
||||
#include <__utility/exception_guard.h>
|
||||
@ -39,7 +40,7 @@ template <class _ValueType
|
||||
= byte
|
||||
# endif
|
||||
>
|
||||
class _LIBCPP_TEMPLATE_VIS polymorphic_allocator {
|
||||
class _LIBCPP_AVAILABILITY_PMR _LIBCPP_TEMPLATE_VIS polymorphic_allocator {
|
||||
|
||||
public:
|
||||
using value_type = _ValueType;
|
||||
|
@ -9,6 +9,7 @@
|
||||
#ifndef _LIBCPP___MEMORY_RESOURCE_SYNCHRONIZED_POOL_RESOURCE_H
|
||||
#define _LIBCPP___MEMORY_RESOURCE_SYNCHRONIZED_POOL_RESOURCE_H
|
||||
|
||||
#include <__availability>
|
||||
#include <__config>
|
||||
#include <__memory_resource/memory_resource.h>
|
||||
#include <__memory_resource/pool_options.h>
|
||||
@ -28,7 +29,7 @@ namespace pmr {
|
||||
|
||||
// [mem.res.pool.overview]
|
||||
|
||||
class _LIBCPP_EXPORTED_FROM_ABI synchronized_pool_resource : public memory_resource {
|
||||
class _LIBCPP_AVAILABILITY_PMR _LIBCPP_EXPORTED_FROM_ABI synchronized_pool_resource : public memory_resource {
|
||||
public:
|
||||
_LIBCPP_HIDE_FROM_ABI synchronized_pool_resource(const pool_options& __opts, memory_resource* __upstream)
|
||||
: __unsync_(__opts, __upstream) {}
|
||||
|
@ -9,6 +9,7 @@
|
||||
#ifndef _LIBCPP___MEMORY_RESOURCE_UNSYNCHRONIZED_POOL_RESOURCE_H
|
||||
#define _LIBCPP___MEMORY_RESOURCE_UNSYNCHRONIZED_POOL_RESOURCE_H
|
||||
|
||||
#include <__availability>
|
||||
#include <__config>
|
||||
#include <__memory_resource/memory_resource.h>
|
||||
#include <__memory_resource/pool_options.h>
|
||||
@ -27,7 +28,7 @@ namespace pmr {
|
||||
|
||||
// [mem.res.pool.overview]
|
||||
|
||||
class _LIBCPP_EXPORTED_FROM_ABI unsynchronized_pool_resource : public memory_resource {
|
||||
class _LIBCPP_AVAILABILITY_PMR _LIBCPP_EXPORTED_FROM_ABI unsynchronized_pool_resource : public memory_resource {
|
||||
class __fixed_pool;
|
||||
|
||||
class __adhoc_pool {
|
||||
|
@ -189,6 +189,7 @@ template <class T, class Allocator, class Predicate>
|
||||
#include <__algorithm/remove_if.h>
|
||||
#include <__algorithm/unwrap_iter.h>
|
||||
#include <__assert> // all public C++ headers provide the assertion handler
|
||||
#include <__availability>
|
||||
#include <__config>
|
||||
#include <__format/enable_insertable.h>
|
||||
#include <__iterator/distance.h>
|
||||
@ -2652,7 +2653,7 @@ _LIBCPP_END_NAMESPACE_STD
|
||||
_LIBCPP_BEGIN_NAMESPACE_STD
|
||||
namespace pmr {
|
||||
template <class _ValueT>
|
||||
using deque = std::deque<_ValueT, polymorphic_allocator<_ValueT>>;
|
||||
using deque _LIBCPP_AVAILABILITY_PMR = std::deque<_ValueT, polymorphic_allocator<_ValueT>>;
|
||||
} // namespace pmr
|
||||
_LIBCPP_END_NAMESPACE_STD
|
||||
#endif
|
||||
|
@ -188,6 +188,7 @@ template <class T, class Allocator, class Predicate>
|
||||
#include <__algorithm/lexicographical_compare_three_way.h>
|
||||
#include <__algorithm/min.h>
|
||||
#include <__assert> // all public C++ headers provide the assertion handler
|
||||
#include <__availability>
|
||||
#include <__config>
|
||||
#include <__iterator/distance.h>
|
||||
#include <__iterator/iterator_traits.h>
|
||||
@ -1814,7 +1815,7 @@ _LIBCPP_END_NAMESPACE_STD
|
||||
_LIBCPP_BEGIN_NAMESPACE_STD
|
||||
namespace pmr {
|
||||
template <class _ValueT>
|
||||
using forward_list = std::forward_list<_ValueT, polymorphic_allocator<_ValueT>>;
|
||||
using forward_list _LIBCPP_AVAILABILITY_PMR = std::forward_list<_ValueT, polymorphic_allocator<_ValueT>>;
|
||||
} // namespace pmr
|
||||
_LIBCPP_END_NAMESPACE_STD
|
||||
#endif
|
||||
|
@ -189,6 +189,7 @@ template <class T, class Allocator, class Predicate>
|
||||
#include <__algorithm/lexicographical_compare_three_way.h>
|
||||
#include <__algorithm/min.h>
|
||||
#include <__assert> // all public C++ headers provide the assertion handler
|
||||
#include <__availability>
|
||||
#include <__config>
|
||||
#include <__debug>
|
||||
#include <__format/enable_insertable.h>
|
||||
@ -2391,7 +2392,7 @@ _LIBCPP_END_NAMESPACE_STD
|
||||
_LIBCPP_BEGIN_NAMESPACE_STD
|
||||
namespace pmr {
|
||||
template <class _ValueT>
|
||||
using list = std::list<_ValueT, polymorphic_allocator<_ValueT>>;
|
||||
using list _LIBCPP_AVAILABILITY_PMR = std::list<_ValueT, polymorphic_allocator<_ValueT>>;
|
||||
} // namespace pmr
|
||||
_LIBCPP_END_NAMESPACE_STD
|
||||
#endif
|
||||
|
@ -542,6 +542,7 @@ erase_if(multimap<Key, T, Compare, Allocator>& c, Predicate pred); // C++20
|
||||
#include <__algorithm/lexicographical_compare.h>
|
||||
#include <__algorithm/lexicographical_compare_three_way.h>
|
||||
#include <__assert> // all public C++ headers provide the assertion handler
|
||||
#include <__availability>
|
||||
#include <__config>
|
||||
#include <__functional/binary_function.h>
|
||||
#include <__functional/is_transparent.h>
|
||||
@ -2389,10 +2390,10 @@ _LIBCPP_END_NAMESPACE_STD
|
||||
_LIBCPP_BEGIN_NAMESPACE_STD
|
||||
namespace pmr {
|
||||
template <class _KeyT, class _ValueT, class _CompareT = std::less<_KeyT>>
|
||||
using map = std::map<_KeyT, _ValueT, _CompareT, polymorphic_allocator<std::pair<const _KeyT, _ValueT>>>;
|
||||
using map _LIBCPP_AVAILABILITY_PMR = std::map<_KeyT, _ValueT, _CompareT, polymorphic_allocator<std::pair<const _KeyT, _ValueT>>>;
|
||||
|
||||
template <class _KeyT, class _ValueT, class _CompareT = std::less<_KeyT>>
|
||||
using multimap = std::multimap<_KeyT, _ValueT, _CompareT, polymorphic_allocator<std::pair<const _KeyT, _ValueT>>>;
|
||||
using multimap _LIBCPP_AVAILABILITY_PMR = std::multimap<_KeyT, _ValueT, _CompareT, polymorphic_allocator<std::pair<const _KeyT, _ValueT>>>;
|
||||
} // namespace pmr
|
||||
_LIBCPP_END_NAMESPACE_STD
|
||||
#endif
|
||||
|
@ -788,6 +788,7 @@ typedef regex_token_iterator<wstring::const_iterator> wsregex_token_iterator;
|
||||
#include <__algorithm/find.h>
|
||||
#include <__algorithm/search.h>
|
||||
#include <__assert> // all public C++ headers provide the assertion handler
|
||||
#include <__availability>
|
||||
#include <__config>
|
||||
#include <__iterator/back_insert_iterator.h>
|
||||
#include <__iterator/wrap_iter.h>
|
||||
@ -6923,14 +6924,14 @@ _LIBCPP_END_NAMESPACE_STD
|
||||
_LIBCPP_BEGIN_NAMESPACE_STD
|
||||
namespace pmr {
|
||||
template <class _BidirT>
|
||||
using match_results = std::match_results<_BidirT, polymorphic_allocator<std::sub_match<_BidirT>>>;
|
||||
using match_results _LIBCPP_AVAILABILITY_PMR = std::match_results<_BidirT, polymorphic_allocator<std::sub_match<_BidirT>>>;
|
||||
|
||||
using cmatch = match_results<const char*>;
|
||||
using smatch = match_results<std::pmr::string::const_iterator>;
|
||||
using cmatch _LIBCPP_AVAILABILITY_PMR = match_results<const char*>;
|
||||
using smatch _LIBCPP_AVAILABILITY_PMR = match_results<std::pmr::string::const_iterator>;
|
||||
|
||||
#ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
|
||||
using wcmatch = match_results<const wchar_t*>;
|
||||
using wsmatch = match_results<std::pmr::wstring::const_iterator>;
|
||||
using wcmatch _LIBCPP_AVAILABILITY_PMR = match_results<const wchar_t*>;
|
||||
using wsmatch _LIBCPP_AVAILABILITY_PMR = match_results<std::pmr::wstring::const_iterator>;
|
||||
#endif
|
||||
} // namespace pmr
|
||||
_LIBCPP_END_NAMESPACE_STD
|
||||
|
@ -483,6 +483,7 @@ erase_if(multiset<Key, Compare, Allocator>& c, Predicate pred); // C++20
|
||||
#include <__algorithm/lexicographical_compare.h>
|
||||
#include <__algorithm/lexicographical_compare_three_way.h>
|
||||
#include <__assert> // all public C++ headers provide the assertion handler
|
||||
#include <__availability>
|
||||
#include <__config>
|
||||
#include <__functional/is_transparent.h>
|
||||
#include <__functional/operations.h>
|
||||
@ -1623,10 +1624,10 @@ _LIBCPP_END_NAMESPACE_STD
|
||||
_LIBCPP_BEGIN_NAMESPACE_STD
|
||||
namespace pmr {
|
||||
template <class _KeyT, class _CompareT = std::less<_KeyT>>
|
||||
using set = std::set<_KeyT, _CompareT, polymorphic_allocator<_KeyT>>;
|
||||
using set _LIBCPP_AVAILABILITY_PMR = std::set<_KeyT, _CompareT, polymorphic_allocator<_KeyT>>;
|
||||
|
||||
template <class _KeyT, class _CompareT = std::less<_KeyT>>
|
||||
using multiset = std::multiset<_KeyT, _CompareT, polymorphic_allocator<_KeyT>>;
|
||||
using multiset _LIBCPP_AVAILABILITY_PMR = std::multiset<_KeyT, _CompareT, polymorphic_allocator<_KeyT>>;
|
||||
} // namespace pmr
|
||||
_LIBCPP_END_NAMESPACE_STD
|
||||
#endif
|
||||
|
@ -516,6 +516,7 @@ template <class Key, class T, class Hash, class Pred, class Alloc>
|
||||
|
||||
#include <__algorithm/is_permutation.h>
|
||||
#include <__assert> // all public C++ headers provide the assertion handler
|
||||
#include <__availability>
|
||||
#include <__config>
|
||||
#include <__debug>
|
||||
#include <__functional/is_transparent.h>
|
||||
@ -2646,11 +2647,11 @@ _LIBCPP_END_NAMESPACE_STD
|
||||
_LIBCPP_BEGIN_NAMESPACE_STD
|
||||
namespace pmr {
|
||||
template <class _KeyT, class _ValueT, class _HashT = std::hash<_KeyT>, class _PredT = std::equal_to<_KeyT>>
|
||||
using unordered_map =
|
||||
using unordered_map _LIBCPP_AVAILABILITY_PMR =
|
||||
std::unordered_map<_KeyT, _ValueT, _HashT, _PredT, polymorphic_allocator<std::pair<const _KeyT, _ValueT>>>;
|
||||
|
||||
template <class _KeyT, class _ValueT, class _HashT = std::hash<_KeyT>, class _PredT = std::equal_to<_KeyT>>
|
||||
using unordered_multimap =
|
||||
using unordered_multimap _LIBCPP_AVAILABILITY_PMR =
|
||||
std::unordered_multimap<_KeyT, _ValueT, _HashT, _PredT, polymorphic_allocator<std::pair<const _KeyT, _ValueT>>>;
|
||||
} // namespace pmr
|
||||
_LIBCPP_END_NAMESPACE_STD
|
||||
|
@ -461,6 +461,7 @@ template <class Value, class Hash, class Pred, class Alloc>
|
||||
|
||||
#include <__algorithm/is_permutation.h>
|
||||
#include <__assert> // all public C++ headers provide the assertion handler
|
||||
#include <__availability>
|
||||
#include <__config>
|
||||
#include <__debug>
|
||||
#include <__functional/is_transparent.h>
|
||||
@ -1815,10 +1816,10 @@ _LIBCPP_END_NAMESPACE_STD
|
||||
_LIBCPP_BEGIN_NAMESPACE_STD
|
||||
namespace pmr {
|
||||
template <class _KeyT, class _HashT = std::hash<_KeyT>, class _PredT = std::equal_to<_KeyT>>
|
||||
using unordered_set = std::unordered_set<_KeyT, _HashT, _PredT, polymorphic_allocator<_KeyT>>;
|
||||
using unordered_set _LIBCPP_AVAILABILITY_PMR = std::unordered_set<_KeyT, _HashT, _PredT, polymorphic_allocator<_KeyT>>;
|
||||
|
||||
template <class _KeyT, class _HashT = std::hash<_KeyT>, class _PredT = std::equal_to<_KeyT>>
|
||||
using unordered_multiset = std::unordered_multiset<_KeyT, _HashT, _PredT, polymorphic_allocator<_KeyT>>;
|
||||
using unordered_multiset _LIBCPP_AVAILABILITY_PMR = std::unordered_multiset<_KeyT, _HashT, _PredT, polymorphic_allocator<_KeyT>>;
|
||||
} // namespace pmr
|
||||
_LIBCPP_END_NAMESPACE_STD
|
||||
#endif
|
||||
|
@ -312,6 +312,7 @@ template<class T, class charT> requires is-vector-bool-reference<T> // Since C++
|
||||
#include <__algorithm/rotate.h>
|
||||
#include <__algorithm/unwrap_iter.h>
|
||||
#include <__assert> // all public C++ headers provide the assertion handler
|
||||
#include <__availability>
|
||||
#include <__bit_reference>
|
||||
#include <__concepts/same_as.h>
|
||||
#include <__config>
|
||||
@ -3563,7 +3564,7 @@ _LIBCPP_END_NAMESPACE_STD
|
||||
_LIBCPP_BEGIN_NAMESPACE_STD
|
||||
namespace pmr {
|
||||
template <class _ValueT>
|
||||
using vector = std::vector<_ValueT, polymorphic_allocator<_ValueT>>;
|
||||
using vector _LIBCPP_AVAILABILITY_PMR = std::vector<_ValueT, polymorphic_allocator<_ValueT>>;
|
||||
} // namespace pmr
|
||||
_LIBCPP_END_NAMESPACE_STD
|
||||
#endif
|
||||
|
@ -289,7 +289,9 @@ __cpp_lib_within_lifetime 202306L <type_traits>
|
||||
# define __cpp_lib_make_from_tuple 201606L
|
||||
# define __cpp_lib_map_try_emplace 201411L
|
||||
// # define __cpp_lib_math_special_functions 201603L
|
||||
# define __cpp_lib_memory_resource 201603L
|
||||
# if !defined(_LIBCPP_AVAILABILITY_HAS_NO_PMR)
|
||||
# define __cpp_lib_memory_resource 201603L
|
||||
# endif
|
||||
# define __cpp_lib_node_extract 201606L
|
||||
# define __cpp_lib_nonmember_container_access 201411L
|
||||
# define __cpp_lib_not_fn 201603L
|
||||
@ -376,7 +378,9 @@ __cpp_lib_within_lifetime 202306L <type_traits>
|
||||
# define __cpp_lib_list_remove_return_type 201806L
|
||||
# define __cpp_lib_math_constants 201907L
|
||||
# define __cpp_lib_move_iterator_concept 202207L
|
||||
# define __cpp_lib_polymorphic_allocator 201902L
|
||||
# if !defined(_LIBCPP_AVAILABILITY_HAS_NO_PMR)
|
||||
# define __cpp_lib_polymorphic_allocator 201902L
|
||||
# endif
|
||||
# define __cpp_lib_ranges 202106L
|
||||
# define __cpp_lib_remove_cvref 201711L
|
||||
# if !defined(_LIBCPP_HAS_NO_THREADS) && !defined(_LIBCPP_AVAILABILITY_HAS_NO_SYNC)
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// test_memory_resource requires RTTI for dynamic_cast
|
||||
// UNSUPPORTED: no-rtti
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// <memory_resource>
|
||||
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// <memory_resource>
|
||||
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// <memory_resource>
|
||||
|
||||
|
@ -0,0 +1,63 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
// See https://llvm.org/LICENSE.txt for license information.
|
||||
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// REQUIRES: availability-pmr-missing
|
||||
|
||||
// TODO: This test doesn't work until https://github.com/llvm/llvm-project/issues/40340
|
||||
// has been fixed, because we actually disable availability markup.
|
||||
// XFAIL: *
|
||||
|
||||
// Test the availability markup on std::pmr components.
|
||||
|
||||
#include <deque>
|
||||
#include <forward_list>
|
||||
#include <list>
|
||||
#include <map>
|
||||
#include <memory_resource>
|
||||
#include <regex>
|
||||
#include <set>
|
||||
#include <string>
|
||||
#include <unordered_map>
|
||||
#include <unordered_set>
|
||||
|
||||
void f() {
|
||||
[[maybe_unused]] std::pmr::match_results<const char8_t*> m1; // expected-error {{is unavailable}}
|
||||
[[maybe_unused]] std::pmr::cmatch m2; // expected-error {{is unavailable}}
|
||||
[[maybe_unused]] std::pmr::wcmatch m3; // expected-error {{is unavailable}}
|
||||
[[maybe_unused]] std::pmr::smatch m4; // expected-error {{is unavailable}}
|
||||
[[maybe_unused]] std::pmr::wsmatch m5; // expected-error {{is unavailable}}
|
||||
[[maybe_unused]] std::pmr::deque<int> m6; // expected-error {{is unavailable}}
|
||||
[[maybe_unused]] std::pmr::forward_list<int> m7; // expected-error {{is unavailable}}
|
||||
[[maybe_unused]] std::pmr::list<int> m8; // expected-error {{is unavailable}}
|
||||
[[maybe_unused]] std::pmr::map<int, int> m9; // expected-error {{is unavailable}}
|
||||
[[maybe_unused]] std::pmr::multimap<int, int> m10; // expected-error {{is unavailable}}
|
||||
[[maybe_unused]] std::pmr::set<int> m11; // expected-error {{is unavailable}}
|
||||
[[maybe_unused]] std::pmr::multiset<int> m12; // expected-error {{is unavailable}}
|
||||
[[maybe_unused]] std::pmr::string m13; // expected-error {{is unavailable}}
|
||||
[[maybe_unused]] std::pmr::wstring m14; // expected-error {{is unavailable}}
|
||||
[[maybe_unused]] std::pmr::u8string m15; // expected-error {{is unavailable}}
|
||||
[[maybe_unused]] std::pmr::u16string m16; // expected-error {{is unavailable}}
|
||||
[[maybe_unused]] std::pmr::u32string m17; // expected-error {{is unavailable}}
|
||||
[[maybe_unused]] std::pmr::basic_string<char8_t> m18; // expected-error {{is unavailable}}
|
||||
[[maybe_unused]] std::pmr::unordered_map<int, int> m19; // expected-error {{is unavailable}}
|
||||
[[maybe_unused]] std::pmr::unordered_multimap<int, int> m20; // expected-error {{is unavailable}}
|
||||
[[maybe_unused]] std::pmr::unordered_set<int, int> m21; // expected-error {{is unavailable}}
|
||||
[[maybe_unused]] std::pmr::unordered_multiset<int, int> m22; // expected-error {{is unavailable}}
|
||||
[[maybe_unused]] std::pmr::vector<int> m23; // expected-error {{is unavailable}}
|
||||
[[maybe_unused]] std::pmr::polymorphic_allocator<int> poly; // expected-error {{is unavailable}}
|
||||
[[maybe_unused]] std::pmr::memory_resource* res = nullptr; // expected-error {{is unavailable}}
|
||||
[[maybe_unused]] std::pmr::synchronized_pool_resource r1; // expected-error {{is unavailable}}
|
||||
[[maybe_unused]] std::pmr::monotonic_buffer_resource r2; // expected-error {{is unavailable}}
|
||||
[[maybe_unused]] std::pmr::unsynchronized_pool_resource r3; // expected-error {{is unavailable}}
|
||||
(void)std::pmr::get_default_resource(); // expected-error {{is unavailable}}
|
||||
(void)std::pmr::set_default_resource(nullptr); // expected-error {{is unavailable}}
|
||||
(void)std::pmr::new_delete_resource(); // expected-error {{is unavailable}}
|
||||
(void)std::pmr::null_memory_resource(); // expected-error {{is unavailable}}
|
||||
(void)(*res == *res); // expected-error {{is unavailable}}
|
||||
}
|
@ -45,11 +45,17 @@
|
||||
|
||||
#elif TEST_STD_VER == 17
|
||||
|
||||
# ifndef __cpp_lib_memory_resource
|
||||
# error "__cpp_lib_memory_resource should be defined in c++17"
|
||||
# endif
|
||||
# if __cpp_lib_memory_resource != 201603L
|
||||
# error "__cpp_lib_memory_resource should have the value 201603L in c++17"
|
||||
# if !defined(_LIBCPP_AVAILABILITY_HAS_NO_PMR)
|
||||
# ifndef __cpp_lib_memory_resource
|
||||
# error "__cpp_lib_memory_resource should be defined in c++17"
|
||||
# endif
|
||||
# if __cpp_lib_memory_resource != 201603L
|
||||
# error "__cpp_lib_memory_resource should have the value 201603L in c++17"
|
||||
# endif
|
||||
# else
|
||||
# ifdef __cpp_lib_memory_resource
|
||||
# error "__cpp_lib_memory_resource should not be defined when the requirement '!defined(_LIBCPP_AVAILABILITY_HAS_NO_PMR)' is not met!"
|
||||
# endif
|
||||
# endif
|
||||
|
||||
# ifdef __cpp_lib_polymorphic_allocator
|
||||
@ -58,50 +64,86 @@
|
||||
|
||||
#elif TEST_STD_VER == 20
|
||||
|
||||
# ifndef __cpp_lib_memory_resource
|
||||
# error "__cpp_lib_memory_resource should be defined in c++20"
|
||||
# endif
|
||||
# if __cpp_lib_memory_resource != 201603L
|
||||
# error "__cpp_lib_memory_resource should have the value 201603L in c++20"
|
||||
# if !defined(_LIBCPP_AVAILABILITY_HAS_NO_PMR)
|
||||
# ifndef __cpp_lib_memory_resource
|
||||
# error "__cpp_lib_memory_resource should be defined in c++20"
|
||||
# endif
|
||||
# if __cpp_lib_memory_resource != 201603L
|
||||
# error "__cpp_lib_memory_resource should have the value 201603L in c++20"
|
||||
# endif
|
||||
# else
|
||||
# ifdef __cpp_lib_memory_resource
|
||||
# error "__cpp_lib_memory_resource should not be defined when the requirement '!defined(_LIBCPP_AVAILABILITY_HAS_NO_PMR)' is not met!"
|
||||
# endif
|
||||
# endif
|
||||
|
||||
# ifndef __cpp_lib_polymorphic_allocator
|
||||
# error "__cpp_lib_polymorphic_allocator should be defined in c++20"
|
||||
# endif
|
||||
# if __cpp_lib_polymorphic_allocator != 201902L
|
||||
# error "__cpp_lib_polymorphic_allocator should have the value 201902L in c++20"
|
||||
# if !defined(_LIBCPP_AVAILABILITY_HAS_NO_PMR)
|
||||
# ifndef __cpp_lib_polymorphic_allocator
|
||||
# error "__cpp_lib_polymorphic_allocator should be defined in c++20"
|
||||
# endif
|
||||
# if __cpp_lib_polymorphic_allocator != 201902L
|
||||
# error "__cpp_lib_polymorphic_allocator should have the value 201902L in c++20"
|
||||
# endif
|
||||
# else
|
||||
# ifdef __cpp_lib_polymorphic_allocator
|
||||
# error "__cpp_lib_polymorphic_allocator should not be defined when the requirement '!defined(_LIBCPP_AVAILABILITY_HAS_NO_PMR)' is not met!"
|
||||
# endif
|
||||
# endif
|
||||
|
||||
#elif TEST_STD_VER == 23
|
||||
|
||||
# ifndef __cpp_lib_memory_resource
|
||||
# error "__cpp_lib_memory_resource should be defined in c++23"
|
||||
# endif
|
||||
# if __cpp_lib_memory_resource != 201603L
|
||||
# error "__cpp_lib_memory_resource should have the value 201603L in c++23"
|
||||
# if !defined(_LIBCPP_AVAILABILITY_HAS_NO_PMR)
|
||||
# ifndef __cpp_lib_memory_resource
|
||||
# error "__cpp_lib_memory_resource should be defined in c++23"
|
||||
# endif
|
||||
# if __cpp_lib_memory_resource != 201603L
|
||||
# error "__cpp_lib_memory_resource should have the value 201603L in c++23"
|
||||
# endif
|
||||
# else
|
||||
# ifdef __cpp_lib_memory_resource
|
||||
# error "__cpp_lib_memory_resource should not be defined when the requirement '!defined(_LIBCPP_AVAILABILITY_HAS_NO_PMR)' is not met!"
|
||||
# endif
|
||||
# endif
|
||||
|
||||
# ifndef __cpp_lib_polymorphic_allocator
|
||||
# error "__cpp_lib_polymorphic_allocator should be defined in c++23"
|
||||
# endif
|
||||
# if __cpp_lib_polymorphic_allocator != 201902L
|
||||
# error "__cpp_lib_polymorphic_allocator should have the value 201902L in c++23"
|
||||
# if !defined(_LIBCPP_AVAILABILITY_HAS_NO_PMR)
|
||||
# ifndef __cpp_lib_polymorphic_allocator
|
||||
# error "__cpp_lib_polymorphic_allocator should be defined in c++23"
|
||||
# endif
|
||||
# if __cpp_lib_polymorphic_allocator != 201902L
|
||||
# error "__cpp_lib_polymorphic_allocator should have the value 201902L in c++23"
|
||||
# endif
|
||||
# else
|
||||
# ifdef __cpp_lib_polymorphic_allocator
|
||||
# error "__cpp_lib_polymorphic_allocator should not be defined when the requirement '!defined(_LIBCPP_AVAILABILITY_HAS_NO_PMR)' is not met!"
|
||||
# endif
|
||||
# endif
|
||||
|
||||
#elif TEST_STD_VER > 23
|
||||
|
||||
# ifndef __cpp_lib_memory_resource
|
||||
# error "__cpp_lib_memory_resource should be defined in c++26"
|
||||
# endif
|
||||
# if __cpp_lib_memory_resource != 201603L
|
||||
# error "__cpp_lib_memory_resource should have the value 201603L in c++26"
|
||||
# if !defined(_LIBCPP_AVAILABILITY_HAS_NO_PMR)
|
||||
# ifndef __cpp_lib_memory_resource
|
||||
# error "__cpp_lib_memory_resource should be defined in c++26"
|
||||
# endif
|
||||
# if __cpp_lib_memory_resource != 201603L
|
||||
# error "__cpp_lib_memory_resource should have the value 201603L in c++26"
|
||||
# endif
|
||||
# else
|
||||
# ifdef __cpp_lib_memory_resource
|
||||
# error "__cpp_lib_memory_resource should not be defined when the requirement '!defined(_LIBCPP_AVAILABILITY_HAS_NO_PMR)' is not met!"
|
||||
# endif
|
||||
# endif
|
||||
|
||||
# ifndef __cpp_lib_polymorphic_allocator
|
||||
# error "__cpp_lib_polymorphic_allocator should be defined in c++26"
|
||||
# endif
|
||||
# if __cpp_lib_polymorphic_allocator != 201902L
|
||||
# error "__cpp_lib_polymorphic_allocator should have the value 201902L in c++26"
|
||||
# if !defined(_LIBCPP_AVAILABILITY_HAS_NO_PMR)
|
||||
# ifndef __cpp_lib_polymorphic_allocator
|
||||
# error "__cpp_lib_polymorphic_allocator should be defined in c++26"
|
||||
# endif
|
||||
# if __cpp_lib_polymorphic_allocator != 201902L
|
||||
# error "__cpp_lib_polymorphic_allocator should have the value 201902L in c++26"
|
||||
# endif
|
||||
# else
|
||||
# ifdef __cpp_lib_polymorphic_allocator
|
||||
# error "__cpp_lib_polymorphic_allocator should not be defined when the requirement '!defined(_LIBCPP_AVAILABILITY_HAS_NO_PMR)' is not met!"
|
||||
# endif
|
||||
# endif
|
||||
|
||||
#endif // TEST_STD_VER > 23
|
||||
|
@ -2265,11 +2265,17 @@
|
||||
# error "__cpp_lib_mdspan should not be defined before c++23"
|
||||
# endif
|
||||
|
||||
# ifndef __cpp_lib_memory_resource
|
||||
# error "__cpp_lib_memory_resource should be defined in c++17"
|
||||
# endif
|
||||
# if __cpp_lib_memory_resource != 201603L
|
||||
# error "__cpp_lib_memory_resource should have the value 201603L in c++17"
|
||||
# if !defined(_LIBCPP_AVAILABILITY_HAS_NO_PMR)
|
||||
# ifndef __cpp_lib_memory_resource
|
||||
# error "__cpp_lib_memory_resource should be defined in c++17"
|
||||
# endif
|
||||
# if __cpp_lib_memory_resource != 201603L
|
||||
# error "__cpp_lib_memory_resource should have the value 201603L in c++17"
|
||||
# endif
|
||||
# else
|
||||
# ifdef __cpp_lib_memory_resource
|
||||
# error "__cpp_lib_memory_resource should not be defined when the requirement '!defined(_LIBCPP_AVAILABILITY_HAS_NO_PMR)' is not met!"
|
||||
# endif
|
||||
# endif
|
||||
|
||||
# ifdef __cpp_lib_move_iterator_concept
|
||||
@ -3435,11 +3441,17 @@
|
||||
# error "__cpp_lib_mdspan should not be defined before c++23"
|
||||
# endif
|
||||
|
||||
# ifndef __cpp_lib_memory_resource
|
||||
# error "__cpp_lib_memory_resource should be defined in c++20"
|
||||
# endif
|
||||
# if __cpp_lib_memory_resource != 201603L
|
||||
# error "__cpp_lib_memory_resource should have the value 201603L in c++20"
|
||||
# if !defined(_LIBCPP_AVAILABILITY_HAS_NO_PMR)
|
||||
# ifndef __cpp_lib_memory_resource
|
||||
# error "__cpp_lib_memory_resource should be defined in c++20"
|
||||
# endif
|
||||
# if __cpp_lib_memory_resource != 201603L
|
||||
# error "__cpp_lib_memory_resource should have the value 201603L in c++20"
|
||||
# endif
|
||||
# else
|
||||
# ifdef __cpp_lib_memory_resource
|
||||
# error "__cpp_lib_memory_resource should not be defined when the requirement '!defined(_LIBCPP_AVAILABILITY_HAS_NO_PMR)' is not met!"
|
||||
# endif
|
||||
# endif
|
||||
|
||||
# ifndef __cpp_lib_move_iterator_concept
|
||||
@ -3505,11 +3517,17 @@
|
||||
# endif
|
||||
# endif
|
||||
|
||||
# ifndef __cpp_lib_polymorphic_allocator
|
||||
# error "__cpp_lib_polymorphic_allocator should be defined in c++20"
|
||||
# endif
|
||||
# if __cpp_lib_polymorphic_allocator != 201902L
|
||||
# error "__cpp_lib_polymorphic_allocator should have the value 201902L in c++20"
|
||||
# if !defined(_LIBCPP_AVAILABILITY_HAS_NO_PMR)
|
||||
# ifndef __cpp_lib_polymorphic_allocator
|
||||
# error "__cpp_lib_polymorphic_allocator should be defined in c++20"
|
||||
# endif
|
||||
# if __cpp_lib_polymorphic_allocator != 201902L
|
||||
# error "__cpp_lib_polymorphic_allocator should have the value 201902L in c++20"
|
||||
# endif
|
||||
# else
|
||||
# ifdef __cpp_lib_polymorphic_allocator
|
||||
# error "__cpp_lib_polymorphic_allocator should not be defined when the requirement '!defined(_LIBCPP_AVAILABILITY_HAS_NO_PMR)' is not met!"
|
||||
# endif
|
||||
# endif
|
||||
|
||||
# ifndef __cpp_lib_quoted_string_io
|
||||
@ -4764,11 +4782,17 @@
|
||||
# endif
|
||||
# endif
|
||||
|
||||
# ifndef __cpp_lib_memory_resource
|
||||
# error "__cpp_lib_memory_resource should be defined in c++23"
|
||||
# endif
|
||||
# if __cpp_lib_memory_resource != 201603L
|
||||
# error "__cpp_lib_memory_resource should have the value 201603L in c++23"
|
||||
# if !defined(_LIBCPP_AVAILABILITY_HAS_NO_PMR)
|
||||
# ifndef __cpp_lib_memory_resource
|
||||
# error "__cpp_lib_memory_resource should be defined in c++23"
|
||||
# endif
|
||||
# if __cpp_lib_memory_resource != 201603L
|
||||
# error "__cpp_lib_memory_resource should have the value 201603L in c++23"
|
||||
# endif
|
||||
# else
|
||||
# ifdef __cpp_lib_memory_resource
|
||||
# error "__cpp_lib_memory_resource should not be defined when the requirement '!defined(_LIBCPP_AVAILABILITY_HAS_NO_PMR)' is not met!"
|
||||
# endif
|
||||
# endif
|
||||
|
||||
# ifndef __cpp_lib_move_iterator_concept
|
||||
@ -4852,11 +4876,17 @@
|
||||
# endif
|
||||
# endif
|
||||
|
||||
# ifndef __cpp_lib_polymorphic_allocator
|
||||
# error "__cpp_lib_polymorphic_allocator should be defined in c++23"
|
||||
# endif
|
||||
# if __cpp_lib_polymorphic_allocator != 201902L
|
||||
# error "__cpp_lib_polymorphic_allocator should have the value 201902L in c++23"
|
||||
# if !defined(_LIBCPP_AVAILABILITY_HAS_NO_PMR)
|
||||
# ifndef __cpp_lib_polymorphic_allocator
|
||||
# error "__cpp_lib_polymorphic_allocator should be defined in c++23"
|
||||
# endif
|
||||
# if __cpp_lib_polymorphic_allocator != 201902L
|
||||
# error "__cpp_lib_polymorphic_allocator should have the value 201902L in c++23"
|
||||
# endif
|
||||
# else
|
||||
# ifdef __cpp_lib_polymorphic_allocator
|
||||
# error "__cpp_lib_polymorphic_allocator should not be defined when the requirement '!defined(_LIBCPP_AVAILABILITY_HAS_NO_PMR)' is not met!"
|
||||
# endif
|
||||
# endif
|
||||
|
||||
# ifndef __cpp_lib_quoted_string_io
|
||||
@ -6291,11 +6321,17 @@
|
||||
# endif
|
||||
# endif
|
||||
|
||||
# ifndef __cpp_lib_memory_resource
|
||||
# error "__cpp_lib_memory_resource should be defined in c++26"
|
||||
# endif
|
||||
# if __cpp_lib_memory_resource != 201603L
|
||||
# error "__cpp_lib_memory_resource should have the value 201603L in c++26"
|
||||
# if !defined(_LIBCPP_AVAILABILITY_HAS_NO_PMR)
|
||||
# ifndef __cpp_lib_memory_resource
|
||||
# error "__cpp_lib_memory_resource should be defined in c++26"
|
||||
# endif
|
||||
# if __cpp_lib_memory_resource != 201603L
|
||||
# error "__cpp_lib_memory_resource should have the value 201603L in c++26"
|
||||
# endif
|
||||
# else
|
||||
# ifdef __cpp_lib_memory_resource
|
||||
# error "__cpp_lib_memory_resource should not be defined when the requirement '!defined(_LIBCPP_AVAILABILITY_HAS_NO_PMR)' is not met!"
|
||||
# endif
|
||||
# endif
|
||||
|
||||
# ifndef __cpp_lib_move_iterator_concept
|
||||
@ -6379,11 +6415,17 @@
|
||||
# endif
|
||||
# endif
|
||||
|
||||
# ifndef __cpp_lib_polymorphic_allocator
|
||||
# error "__cpp_lib_polymorphic_allocator should be defined in c++26"
|
||||
# endif
|
||||
# if __cpp_lib_polymorphic_allocator != 201902L
|
||||
# error "__cpp_lib_polymorphic_allocator should have the value 201902L in c++26"
|
||||
# if !defined(_LIBCPP_AVAILABILITY_HAS_NO_PMR)
|
||||
# ifndef __cpp_lib_polymorphic_allocator
|
||||
# error "__cpp_lib_polymorphic_allocator should be defined in c++26"
|
||||
# endif
|
||||
# if __cpp_lib_polymorphic_allocator != 201902L
|
||||
# error "__cpp_lib_polymorphic_allocator should have the value 201902L in c++26"
|
||||
# endif
|
||||
# else
|
||||
# ifdef __cpp_lib_polymorphic_allocator
|
||||
# error "__cpp_lib_polymorphic_allocator should not be defined when the requirement '!defined(_LIBCPP_AVAILABILITY_HAS_NO_PMR)' is not met!"
|
||||
# endif
|
||||
# endif
|
||||
|
||||
# ifndef __cpp_lib_quoted_string_io
|
||||
|
@ -7,6 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// <memory_resource>
|
||||
|
||||
|
@ -7,6 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// <memory_resource>
|
||||
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// test_memory_resource requires RTTI for dynamic_cast
|
||||
// UNSUPPORTED: no-rtti
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// test_memory_resource requires RTTI for dynamic_cast
|
||||
// UNSUPPORTED: no-rtti
|
||||
|
@ -7,6 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// <memory_resource>
|
||||
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// test_memory_resource requires RTTI for dynamic_cast
|
||||
// UNSUPPORTED: no-rtti
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// test_memory_resource requires RTTI for dynamic_cast
|
||||
// UNSUPPORTED: no-rtti
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// test_memory_resource requires RTTI for dynamic_cast
|
||||
// UNSUPPORTED: no-rtti
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// test_memory_resource requires RTTI for dynamic_cast
|
||||
// UNSUPPORTED: no-rtti
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// test_memory_resource requires RTTI for dynamic_cast
|
||||
// UNSUPPORTED: no-rtti
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// <memory_resource>
|
||||
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// test_memory_resource requires RTTI for dynamic_cast
|
||||
// UNSUPPORTED: no-rtti
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// test_memory_resource requires RTTI for dynamic_cast
|
||||
// UNSUPPORTED: no-rtti
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// test_memory_resource requires RTTI for dynamic_cast
|
||||
// UNSUPPORTED: no-rtti
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// test_memory_resource requires RTTI for dynamic_cast
|
||||
// UNSUPPORTED: no-rtti
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// <memory_resource>
|
||||
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// test_memory_resource requires RTTI for dynamic_cast
|
||||
// UNSUPPORTED: no-rtti
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// test_memory_resource requires RTTI for dynamic_cast
|
||||
// UNSUPPORTED: no-rtti
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// <memory_resource>
|
||||
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// test_memory_resource requires RTTI for dynamic_cast
|
||||
// UNSUPPORTED: no-rtti
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// <memory_resource>
|
||||
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// <memory_resource>
|
||||
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// <deque>
|
||||
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// <deque>
|
||||
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// <forward_list>
|
||||
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// <list>
|
||||
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// <list>
|
||||
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// <map>
|
||||
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// <map>
|
||||
|
||||
|
@ -8,7 +8,8 @@
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// UNSUPPORTED: no-localization
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// <regex>
|
||||
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// <set>
|
||||
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// <set>
|
||||
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// <string>
|
||||
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// <string>
|
||||
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// <unordered_map>
|
||||
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// <unordered_map>
|
||||
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// <unordered_set>
|
||||
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// <unordered_set>
|
||||
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// <vector>
|
||||
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// <vector>
|
||||
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// test_memory_resource requires RTTI for dynamic_cast
|
||||
// UNSUPPORTED: no-rtti
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// <memory_resource>
|
||||
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// <memory_resource>
|
||||
|
||||
|
@ -7,6 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// <memory_resource>
|
||||
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// <memory_resource>
|
||||
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// <memory_resource>
|
||||
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// <memory_resource>
|
||||
|
||||
|
@ -8,7 +8,8 @@
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// UNSUPPORTED: no-exceptions
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// <memory_resource>
|
||||
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// <memory_resource>
|
||||
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// <memory_resource>
|
||||
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// <memory_resource>
|
||||
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// <memory_resource>
|
||||
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// <memory_resource>
|
||||
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// <memory_resource>
|
||||
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// <memory_resource>
|
||||
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// <memory_resource>
|
||||
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// <memory_resource>
|
||||
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// <memory_resource>
|
||||
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// <memory_resource>
|
||||
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// <memory_resource>
|
||||
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// <memory_resource>
|
||||
|
||||
|
@ -8,7 +8,8 @@
|
||||
|
||||
// UNSUPPORTED: no-exceptions
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// <memory_resource>
|
||||
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// <memory_resource>
|
||||
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// <memory_resource>
|
||||
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// <memory_resource>
|
||||
|
||||
|
@ -8,7 +8,8 @@
|
||||
|
||||
// UNSUPPORTED: no-exceptions
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// <memory_resource>
|
||||
|
||||
|
@ -7,6 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// <memory_resource>
|
||||
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// test_memory_resource requires RTTI for dynamic_cast
|
||||
// UNSUPPORTED: no-rtti
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// test_memory_resource requires RTTI for dynamic_cast
|
||||
// UNSUPPORTED: no-rtti
|
||||
|
@ -7,6 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// <memory_resource>
|
||||
|
||||
|
@ -7,6 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// <memory_resource>
|
||||
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// test_memory_resource requires RTTI for dynamic_cast
|
||||
// UNSUPPORTED: no-rtti
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// test_memory_resource requires RTTI for dynamic_cast
|
||||
// UNSUPPORTED: no-rtti
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// test_memory_resource requires RTTI for dynamic_cast
|
||||
// UNSUPPORTED: no-rtti
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: availability-pmr-missing
|
||||
// TODO: Change to XFAIL once https://github.com/llvm/llvm-project/issues/40340 is fixed
|
||||
// UNSUPPORTED: availability-pmr-missing
|
||||
|
||||
// test_memory_resource requires RTTI for dynamic_cast
|
||||
// UNSUPPORTED: no-rtti
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user