[libc++] Remove shortcut Lit features for Apple backdeployment
Some time ago, I introduced shortcut features like dylib-has-no-shared_mutex to encode whether the deployment target supported shared_mutex (say). This made the test suite annotations cleaner. However, the problem with building Lit features on top of other Lit features is that it's easier for them to become stale, especially when they are generated programmatically. Furthermore, it makes the bar for defining configurations from scratch higher, since more features have to be defined. Instead, I think it's better to put the XFAILs in the tests directly, which allows cleaning them up with a simple grep.
This commit is contained in:
@@ -8,7 +8,11 @@
|
||||
//
|
||||
// UNSUPPORTED: libcpp-has-no-threads
|
||||
// UNSUPPORTED: c++03, c++11
|
||||
// XFAIL: dylib-has-no-shared_mutex
|
||||
|
||||
// dylib support for shared_mutex was added in macosx10.12
|
||||
// XFAIL: with_system_cxx_lib=macosx10.11
|
||||
// XFAIL: with_system_cxx_lib=macosx10.10
|
||||
// XFAIL: with_system_cxx_lib=macosx10.9
|
||||
|
||||
// <shared_mutex>
|
||||
|
||||
|
||||
@@ -8,7 +8,11 @@
|
||||
//
|
||||
// UNSUPPORTED: libcpp-has-no-threads
|
||||
// UNSUPPORTED: c++03, c++11
|
||||
// XFAIL: dylib-has-no-shared_mutex
|
||||
|
||||
// dylib support for shared_mutex was added in macosx10.12
|
||||
// XFAIL: with_system_cxx_lib=macosx10.11
|
||||
// XFAIL: with_system_cxx_lib=macosx10.10
|
||||
// XFAIL: with_system_cxx_lib=macosx10.9
|
||||
|
||||
// <shared_mutex>
|
||||
|
||||
|
||||
@@ -8,7 +8,11 @@
|
||||
//
|
||||
// UNSUPPORTED: libcpp-has-no-threads
|
||||
// UNSUPPORTED: c++03, c++11
|
||||
// XFAIL: dylib-has-no-shared_mutex
|
||||
|
||||
// dylib support for shared_mutex was added in macosx10.12
|
||||
// XFAIL: with_system_cxx_lib=macosx10.11
|
||||
// XFAIL: with_system_cxx_lib=macosx10.10
|
||||
// XFAIL: with_system_cxx_lib=macosx10.9
|
||||
|
||||
// <shared_mutex>
|
||||
|
||||
|
||||
@@ -8,7 +8,11 @@
|
||||
//
|
||||
// UNSUPPORTED: libcpp-has-no-threads
|
||||
// UNSUPPORTED: c++03, c++11
|
||||
// XFAIL: dylib-has-no-shared_mutex
|
||||
|
||||
// dylib support for shared_mutex was added in macosx10.12
|
||||
// XFAIL: with_system_cxx_lib=macosx10.11
|
||||
// XFAIL: with_system_cxx_lib=macosx10.10
|
||||
// XFAIL: with_system_cxx_lib=macosx10.9
|
||||
|
||||
// ALLOW_RETRIES: 2
|
||||
|
||||
|
||||
@@ -8,7 +8,11 @@
|
||||
//
|
||||
// UNSUPPORTED: libcpp-has-no-threads
|
||||
// UNSUPPORTED: c++03, c++11
|
||||
// XFAIL: dylib-has-no-shared_mutex
|
||||
|
||||
// dylib support for shared_mutex was added in macosx10.12
|
||||
// XFAIL: with_system_cxx_lib=macosx10.11
|
||||
// XFAIL: with_system_cxx_lib=macosx10.10
|
||||
// XFAIL: with_system_cxx_lib=macosx10.9
|
||||
|
||||
// <shared_mutex>
|
||||
|
||||
|
||||
@@ -8,7 +8,11 @@
|
||||
//
|
||||
// UNSUPPORTED: libcpp-has-no-threads
|
||||
// UNSUPPORTED: c++03, c++11
|
||||
// XFAIL: dylib-has-no-shared_mutex
|
||||
|
||||
// dylib support for shared_mutex was added in macosx10.12
|
||||
// XFAIL: with_system_cxx_lib=macosx10.11
|
||||
// XFAIL: with_system_cxx_lib=macosx10.10
|
||||
// XFAIL: with_system_cxx_lib=macosx10.9
|
||||
|
||||
// <shared_mutex>
|
||||
|
||||
|
||||
@@ -8,7 +8,11 @@
|
||||
//
|
||||
// UNSUPPORTED: libcpp-has-no-threads
|
||||
// UNSUPPORTED: c++03, c++11
|
||||
// XFAIL: dylib-has-no-shared_mutex
|
||||
|
||||
// dylib support for shared_mutex was added in macosx10.12
|
||||
// XFAIL: with_system_cxx_lib=macosx10.11
|
||||
// XFAIL: with_system_cxx_lib=macosx10.10
|
||||
// XFAIL: with_system_cxx_lib=macosx10.9
|
||||
|
||||
// <shared_mutex>
|
||||
|
||||
|
||||
@@ -8,7 +8,11 @@
|
||||
//
|
||||
// UNSUPPORTED: libcpp-has-no-threads
|
||||
// UNSUPPORTED: c++03, c++11
|
||||
// XFAIL: dylib-has-no-shared_mutex
|
||||
|
||||
// dylib support for shared_mutex was added in macosx10.12
|
||||
// XFAIL: with_system_cxx_lib=macosx10.11
|
||||
// XFAIL: with_system_cxx_lib=macosx10.10
|
||||
// XFAIL: with_system_cxx_lib=macosx10.9
|
||||
|
||||
// <shared_mutex>
|
||||
|
||||
|
||||
@@ -8,7 +8,11 @@
|
||||
//
|
||||
// UNSUPPORTED: libcpp-has-no-threads
|
||||
// UNSUPPORTED: c++03, c++11
|
||||
// XFAIL: dylib-has-no-shared_mutex
|
||||
|
||||
// dylib support for shared_mutex was added in macosx10.12
|
||||
// XFAIL: with_system_cxx_lib=macosx10.11
|
||||
// XFAIL: with_system_cxx_lib=macosx10.10
|
||||
// XFAIL: with_system_cxx_lib=macosx10.9
|
||||
|
||||
// ALLOW_RETRIES: 2
|
||||
|
||||
|
||||
@@ -8,7 +8,11 @@
|
||||
//
|
||||
// UNSUPPORTED: libcpp-has-no-threads
|
||||
// UNSUPPORTED: c++03, c++11
|
||||
// XFAIL: dylib-has-no-shared_mutex
|
||||
|
||||
// dylib support for shared_mutex was added in macosx10.12
|
||||
// XFAIL: with_system_cxx_lib=macosx10.11
|
||||
// XFAIL: with_system_cxx_lib=macosx10.10
|
||||
// XFAIL: with_system_cxx_lib=macosx10.9
|
||||
|
||||
// ALLOW_RETRIES: 2
|
||||
|
||||
|
||||
@@ -8,7 +8,11 @@
|
||||
//
|
||||
// UNSUPPORTED: libcpp-has-no-threads
|
||||
// UNSUPPORTED: c++03, c++11
|
||||
// XFAIL: dylib-has-no-shared_mutex
|
||||
|
||||
// dylib support for shared_mutex was added in macosx10.12
|
||||
// XFAIL: with_system_cxx_lib=macosx10.11
|
||||
// XFAIL: with_system_cxx_lib=macosx10.10
|
||||
// XFAIL: with_system_cxx_lib=macosx10.9
|
||||
|
||||
// <shared_mutex>
|
||||
|
||||
|
||||
@@ -8,7 +8,11 @@
|
||||
//
|
||||
// UNSUPPORTED: libcpp-has-no-threads
|
||||
// UNSUPPORTED: c++03, c++11
|
||||
// XFAIL: dylib-has-no-shared_mutex
|
||||
|
||||
// dylib support for shared_mutex was added in macosx10.12
|
||||
// XFAIL: with_system_cxx_lib=macosx10.11
|
||||
// XFAIL: with_system_cxx_lib=macosx10.10
|
||||
// XFAIL: with_system_cxx_lib=macosx10.9
|
||||
|
||||
// <shared_mutex>
|
||||
|
||||
|
||||
@@ -8,7 +8,11 @@
|
||||
//
|
||||
// UNSUPPORTED: libcpp-has-no-threads
|
||||
// UNSUPPORTED: c++03, c++11
|
||||
// XFAIL: dylib-has-no-shared_mutex
|
||||
|
||||
// dylib support for shared_mutex was added in macosx10.12
|
||||
// XFAIL: with_system_cxx_lib=macosx10.11
|
||||
// XFAIL: with_system_cxx_lib=macosx10.10
|
||||
// XFAIL: with_system_cxx_lib=macosx10.9
|
||||
|
||||
// <shared_mutex>
|
||||
|
||||
|
||||
@@ -8,7 +8,11 @@
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
|
||||
// XFAIL: dylib-has-no-bad_any_cast && !no-exceptions
|
||||
// Throwing bad_any_cast is supported starting in macosx10.13
|
||||
// XFAIL: with_system_cxx_lib=macosx10.12 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.11 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.10 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.9 && !no-exceptions
|
||||
|
||||
// <any>
|
||||
|
||||
|
||||
@@ -8,7 +8,11 @@
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
|
||||
// XFAIL: dylib-has-no-bad_any_cast && !no-exceptions
|
||||
// Throwing bad_any_cast is supported starting in macosx10.13
|
||||
// XFAIL: with_system_cxx_lib=macosx10.12 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.11 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.10 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.9 && !no-exceptions
|
||||
|
||||
// <any>
|
||||
|
||||
|
||||
@@ -8,7 +8,11 @@
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
|
||||
// XFAIL: dylib-has-no-bad_any_cast && !no-exceptions
|
||||
// Throwing bad_any_cast is supported starting in macosx10.13
|
||||
// XFAIL: with_system_cxx_lib=macosx10.12 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.11 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.10 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.9 && !no-exceptions
|
||||
|
||||
// <any>
|
||||
|
||||
|
||||
@@ -8,7 +8,11 @@
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
|
||||
// XFAIL: dylib-has-no-bad_any_cast && !no-exceptions
|
||||
// Throwing bad_any_cast is supported starting in macosx10.13
|
||||
// XFAIL: with_system_cxx_lib=macosx10.12 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.11 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.10 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.9 && !no-exceptions
|
||||
|
||||
// <any>
|
||||
|
||||
|
||||
@@ -8,7 +8,11 @@
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
|
||||
// XFAIL: dylib-has-no-bad_any_cast && !no-exceptions
|
||||
// Throwing bad_any_cast is supported starting in macosx10.13
|
||||
// XFAIL: with_system_cxx_lib=macosx10.12 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.11 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.10 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.9 && !no-exceptions
|
||||
|
||||
// <any>
|
||||
|
||||
|
||||
@@ -8,7 +8,11 @@
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
|
||||
// XFAIL: dylib-has-no-bad_any_cast && !no-exceptions
|
||||
// Throwing bad_any_cast is supported starting in macosx10.13
|
||||
// XFAIL: with_system_cxx_lib=macosx10.12 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.11 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.10 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.9 && !no-exceptions
|
||||
|
||||
// <any>
|
||||
|
||||
|
||||
@@ -8,7 +8,11 @@
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
|
||||
// XFAIL: dylib-has-no-bad_any_cast && !no-exceptions
|
||||
// Throwing bad_any_cast is supported starting in macosx10.13
|
||||
// XFAIL: with_system_cxx_lib=macosx10.12 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.11 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.10 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.9 && !no-exceptions
|
||||
|
||||
// <any>
|
||||
|
||||
|
||||
@@ -8,7 +8,11 @@
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
|
||||
// XFAIL: dylib-has-no-bad_any_cast && !no-exceptions
|
||||
// Throwing bad_any_cast is supported starting in macosx10.13
|
||||
// XFAIL: with_system_cxx_lib=macosx10.12 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.11 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.10 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.9 && !no-exceptions
|
||||
|
||||
// <any>
|
||||
|
||||
|
||||
@@ -8,7 +8,11 @@
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
|
||||
// XFAIL: dylib-has-no-bad_any_cast && !no-exceptions
|
||||
// Throwing bad_any_cast is supported starting in macosx10.13
|
||||
// XFAIL: with_system_cxx_lib=macosx10.12 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.11 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.10 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.9 && !no-exceptions
|
||||
|
||||
// <any>
|
||||
|
||||
|
||||
@@ -8,7 +8,11 @@
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
|
||||
// XFAIL: dylib-has-no-bad_any_cast && !no-exceptions
|
||||
// Throwing bad_any_cast is supported starting in macosx10.13
|
||||
// XFAIL: with_system_cxx_lib=macosx10.12 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.11 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.10 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.9 && !no-exceptions
|
||||
|
||||
// <any>
|
||||
|
||||
|
||||
@@ -8,7 +8,11 @@
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
|
||||
// XFAIL: dylib-has-no-bad_any_cast && !no-exceptions
|
||||
// Throwing bad_any_cast is supported starting in macosx10.13
|
||||
// XFAIL: with_system_cxx_lib=macosx10.12 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.11 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.10 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.9 && !no-exceptions
|
||||
|
||||
// <any>
|
||||
|
||||
|
||||
@@ -8,7 +8,11 @@
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
|
||||
// XFAIL: dylib-has-no-bad_any_cast && !no-exceptions
|
||||
// Throwing bad_any_cast is supported starting in macosx10.13
|
||||
// XFAIL: with_system_cxx_lib=macosx10.12 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.11 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.10 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.9 && !no-exceptions
|
||||
|
||||
// <any>
|
||||
|
||||
|
||||
@@ -7,7 +7,12 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// UNSUPPORTED: dylib-has-no-bad_any_cast
|
||||
|
||||
// Throwing bad_any_cast is supported starting in macosx10.13
|
||||
// UNSUPPORTED: with_system_cxx_lib=macosx10.12
|
||||
// UNSUPPORTED: with_system_cxx_lib=macosx10.11
|
||||
// UNSUPPORTED: with_system_cxx_lib=macosx10.10
|
||||
// UNSUPPORTED: with_system_cxx_lib=macosx10.9
|
||||
|
||||
// <any>
|
||||
|
||||
|
||||
@@ -7,7 +7,12 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// UNSUPPORTED: dylib-has-no-bad_any_cast
|
||||
|
||||
// Throwing bad_any_cast is supported starting in macosx10.13
|
||||
// UNSUPPORTED: with_system_cxx_lib=macosx10.12
|
||||
// UNSUPPORTED: with_system_cxx_lib=macosx10.11
|
||||
// UNSUPPORTED: with_system_cxx_lib=macosx10.10
|
||||
// UNSUPPORTED: with_system_cxx_lib=macosx10.9
|
||||
|
||||
// <any>
|
||||
|
||||
|
||||
@@ -7,7 +7,12 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// UNSUPPORTED: dylib-has-no-bad_any_cast
|
||||
|
||||
// Throwing bad_any_cast is supported starting in macosx10.13
|
||||
// UNSUPPORTED: with_system_cxx_lib=macosx10.12
|
||||
// UNSUPPORTED: with_system_cxx_lib=macosx10.11
|
||||
// UNSUPPORTED: with_system_cxx_lib=macosx10.10
|
||||
// UNSUPPORTED: with_system_cxx_lib=macosx10.9
|
||||
|
||||
// <any>
|
||||
|
||||
|
||||
@@ -8,7 +8,11 @@
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
|
||||
// XFAIL: dylib-has-no-bad_any_cast && !no-exceptions
|
||||
// Throwing bad_any_cast is supported starting in macosx10.13
|
||||
// XFAIL: with_system_cxx_lib=macosx10.12 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.11 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.10 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.9 && !no-exceptions
|
||||
|
||||
// <any>
|
||||
|
||||
|
||||
@@ -8,7 +8,11 @@
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
|
||||
// XFAIL: dylib-has-no-bad_any_cast && !no-exceptions
|
||||
// Throwing bad_any_cast is supported starting in macosx10.13
|
||||
// XFAIL: with_system_cxx_lib=macosx10.12 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.11 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.10 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.9 && !no-exceptions
|
||||
|
||||
// <any>
|
||||
|
||||
|
||||
@@ -8,7 +8,11 @@
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
|
||||
// XFAIL: dylib-has-no-bad_optional_access
|
||||
// Throwing bad_optional_access is supported starting in macosx10.13
|
||||
// XFAIL: with_system_cxx_lib=macosx10.12
|
||||
// XFAIL: with_system_cxx_lib=macosx10.11
|
||||
// XFAIL: with_system_cxx_lib=macosx10.10
|
||||
// XFAIL: with_system_cxx_lib=macosx10.9
|
||||
|
||||
// <optional>
|
||||
|
||||
|
||||
@@ -7,7 +7,12 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: dylib-has-no-bad_optional_access
|
||||
|
||||
// Throwing bad_optional_access is supported starting in macosx10.13
|
||||
// XFAIL: with_system_cxx_lib=macosx10.12
|
||||
// XFAIL: with_system_cxx_lib=macosx10.11
|
||||
// XFAIL: with_system_cxx_lib=macosx10.10
|
||||
// XFAIL: with_system_cxx_lib=macosx10.9
|
||||
|
||||
// <optional>
|
||||
|
||||
|
||||
@@ -8,7 +8,11 @@
|
||||
//
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
|
||||
// XFAIL: dylib-has-no-bad_optional_access && !no-exceptions
|
||||
// Throwing bad_optional_access is supported starting in macosx10.13
|
||||
// XFAIL: with_system_cxx_lib=macosx10.12 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.11 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.10 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.9 && !no-exceptions
|
||||
|
||||
// <optional>
|
||||
|
||||
|
||||
@@ -8,7 +8,11 @@
|
||||
//
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
|
||||
// XFAIL: dylib-has-no-bad_optional_access && !no-exceptions
|
||||
// Throwing bad_optional_access is supported starting in macosx10.13
|
||||
// XFAIL: with_system_cxx_lib=macosx10.12 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.11 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.10 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.9 && !no-exceptions
|
||||
|
||||
// <optional>
|
||||
|
||||
|
||||
@@ -8,7 +8,11 @@
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
|
||||
// XFAIL: dylib-has-no-bad_optional_access && !no-exceptions
|
||||
// Throwing bad_optional_access is supported starting in macosx10.13
|
||||
// XFAIL: with_system_cxx_lib=macosx10.12 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.11 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.10 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.9 && !no-exceptions
|
||||
|
||||
// <optional>
|
||||
|
||||
|
||||
@@ -8,7 +8,11 @@
|
||||
//
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
|
||||
// XFAIL: dylib-has-no-bad_optional_access && !no-exceptions
|
||||
// Throwing bad_optional_access is supported starting in macosx10.13
|
||||
// XFAIL: with_system_cxx_lib=macosx10.12 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.11 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.10 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.9 && !no-exceptions
|
||||
|
||||
// <optional>
|
||||
|
||||
|
||||
@@ -8,7 +8,11 @@
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
|
||||
// XFAIL: dylib-has-no-bad_optional_access && !no-exceptions
|
||||
// Throwing bad_optional_access is supported starting in macosx10.13
|
||||
// XFAIL: with_system_cxx_lib=macosx10.12 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.11 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.10 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.9 && !no-exceptions
|
||||
|
||||
// <optional>
|
||||
|
||||
|
||||
@@ -8,7 +8,11 @@
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
|
||||
// XFAIL: dylib-has-no-bad_optional_access && !no-exceptions
|
||||
// Throwing bad_optional_access is supported starting in macosx10.13
|
||||
// XFAIL: with_system_cxx_lib=macosx10.12 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.11 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.10 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.9 && !no-exceptions
|
||||
|
||||
// <optional>
|
||||
|
||||
|
||||
@@ -8,7 +8,11 @@
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
|
||||
// XFAIL: dylib-has-no-bad_optional_access && !no-exceptions
|
||||
// Throwing bad_optional_access is supported starting in macosx10.13
|
||||
// XFAIL: with_system_cxx_lib=macosx10.12 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.11 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.10 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.9 && !no-exceptions
|
||||
|
||||
// <optional>
|
||||
|
||||
|
||||
@@ -9,7 +9,11 @@
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// <optional>
|
||||
|
||||
// XFAIL: dylib-has-no-bad_optional_access && !no-exceptions
|
||||
// Throwing bad_optional_access is supported starting in macosx10.13
|
||||
// XFAIL: with_system_cxx_lib=macosx10.12 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.11 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.10 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.9 && !no-exceptions
|
||||
|
||||
// constexpr T& optional<T>::value() &&;
|
||||
|
||||
|
||||
@@ -7,7 +7,12 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: dylib-has-no-bad_optional_access && !no-exceptions
|
||||
|
||||
// Throwing bad_optional_access is supported starting in macosx10.13
|
||||
// XFAIL: with_system_cxx_lib=macosx10.12 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.11 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.10 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.9 && !no-exceptions
|
||||
|
||||
// <optional>
|
||||
//
|
||||
|
||||
@@ -9,8 +9,11 @@
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
|
||||
// XFAIL: dylib-has-no-bad_variant_access
|
||||
|
||||
// Throwing bad_variant_access is supported starting in macosx10.13
|
||||
// XFAIL: with_system_cxx_lib=macosx10.12
|
||||
// XFAIL: with_system_cxx_lib=macosx10.11
|
||||
// XFAIL: with_system_cxx_lib=macosx10.10
|
||||
// XFAIL: with_system_cxx_lib=macosx10.9
|
||||
|
||||
// <variant>
|
||||
|
||||
|
||||
@@ -9,7 +9,11 @@
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
|
||||
// XFAIL: dylib-has-no-bad_variant_access && !no-exceptions
|
||||
// Throwing bad_variant_access is supported starting in macosx10.13
|
||||
// XFAIL: with_system_cxx_lib=macosx10.12 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.11 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.10 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.9 && !no-exceptions
|
||||
|
||||
// <variant>
|
||||
|
||||
|
||||
@@ -9,7 +9,11 @@
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
|
||||
// XFAIL: dylib-has-no-bad_variant_access && !no-exceptions
|
||||
// Throwing bad_variant_access is supported starting in macosx10.13
|
||||
// XFAIL: with_system_cxx_lib=macosx10.12 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.11 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.10 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.9 && !no-exceptions
|
||||
|
||||
// <variant>
|
||||
|
||||
|
||||
@@ -9,7 +9,11 @@
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
|
||||
// XFAIL: dylib-has-no-bad_variant_access && !no-exceptions
|
||||
// Throwing bad_variant_access is supported starting in macosx10.13
|
||||
// XFAIL: with_system_cxx_lib=macosx10.12 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.11 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.10 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.9 && !no-exceptions
|
||||
|
||||
// <variant>
|
||||
|
||||
|
||||
@@ -9,7 +9,11 @@
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
|
||||
// XFAIL: dylib-has-no-bad_variant_access && !no-exceptions
|
||||
// Throwing bad_variant_access is supported starting in macosx10.13
|
||||
// XFAIL: with_system_cxx_lib=macosx10.12 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.11 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.10 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.9 && !no-exceptions
|
||||
|
||||
// <variant>
|
||||
|
||||
|
||||
@@ -9,8 +9,11 @@
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
|
||||
// XFAIL: dylib-has-no-bad_variant_access && !no-exceptions
|
||||
|
||||
// Throwing bad_variant_access is supported starting in macosx10.13
|
||||
// XFAIL: with_system_cxx_lib=macosx10.12 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.11 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.10 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.9 && !no-exceptions
|
||||
|
||||
// <variant>
|
||||
|
||||
|
||||
@@ -8,7 +8,12 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: dylib-has-no-bad_variant_access && !no-exceptions
|
||||
|
||||
// Throwing bad_variant_access is supported starting in macosx10.13
|
||||
// XFAIL: with_system_cxx_lib=macosx10.12 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.11 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.10 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.9 && !no-exceptions
|
||||
|
||||
// <variant>
|
||||
|
||||
|
||||
@@ -9,7 +9,11 @@
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
|
||||
// XFAIL: dylib-has-no-bad_variant_access && !no-exceptions
|
||||
// Throwing bad_variant_access is supported starting in macosx10.13
|
||||
// XFAIL: with_system_cxx_lib=macosx10.12 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.11 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.10 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.9 && !no-exceptions
|
||||
|
||||
// <variant>
|
||||
|
||||
|
||||
@@ -9,7 +9,11 @@
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
|
||||
// XFAIL: dylib-has-no-bad_variant_access && !no-exceptions
|
||||
// Throwing bad_variant_access is supported starting in macosx10.13
|
||||
// XFAIL: with_system_cxx_lib=macosx10.12 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.11 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.10 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.9 && !no-exceptions
|
||||
|
||||
// <variant>
|
||||
|
||||
|
||||
@@ -9,7 +9,11 @@
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
|
||||
// XFAIL: dylib-has-no-bad_variant_access && !no-exceptions
|
||||
// Throwing bad_variant_access is supported starting in macosx10.13
|
||||
// XFAIL: with_system_cxx_lib=macosx10.12 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.11 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.10 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.9 && !no-exceptions
|
||||
|
||||
// <variant>
|
||||
|
||||
|
||||
@@ -8,7 +8,12 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: dylib-has-no-bad_variant_access && !no-exceptions
|
||||
|
||||
// Throwing bad_variant_access is supported starting in macosx10.13
|
||||
// XFAIL: with_system_cxx_lib=macosx10.12 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.11 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.10 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.9 && !no-exceptions
|
||||
|
||||
// <variant>
|
||||
|
||||
|
||||
@@ -9,7 +9,11 @@
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
|
||||
// XFAIL: dylib-has-no-bad_variant_access && !no-exceptions
|
||||
// Throwing bad_variant_access is supported starting in macosx10.13
|
||||
// XFAIL: with_system_cxx_lib=macosx10.12 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.11 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.10 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.9 && !no-exceptions
|
||||
|
||||
// <variant>
|
||||
|
||||
|
||||
@@ -8,7 +8,12 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// XFAIL: dylib-has-no-bad_variant_access && !no-exceptions
|
||||
|
||||
// Throwing bad_variant_access is supported starting in macosx10.13
|
||||
// XFAIL: with_system_cxx_lib=macosx10.12 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.11 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.10 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.9 && !no-exceptions
|
||||
|
||||
// <variant>
|
||||
|
||||
|
||||
@@ -9,7 +9,11 @@
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
|
||||
// XFAIL: dylib-has-no-bad_variant_access && !no-exceptions
|
||||
// Throwing bad_variant_access is supported starting in macosx10.13
|
||||
// XFAIL: with_system_cxx_lib=macosx10.12 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.11 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.10 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.9 && !no-exceptions
|
||||
|
||||
// <variant>
|
||||
|
||||
|
||||
@@ -9,7 +9,11 @@
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
|
||||
// XFAIL: dylib-has-no-bad_variant_access && !no-exceptions
|
||||
// Throwing bad_variant_access is supported starting in macosx10.13
|
||||
// XFAIL: with_system_cxx_lib=macosx10.12 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.11 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.10 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.9 && !no-exceptions
|
||||
|
||||
// <variant>
|
||||
|
||||
|
||||
@@ -9,7 +9,11 @@
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
|
||||
// XFAIL: dylib-has-no-bad_variant_access && !no-exceptions
|
||||
// Throwing bad_variant_access is supported starting in macosx10.13
|
||||
// XFAIL: with_system_cxx_lib=macosx10.12 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.11 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.10 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.9 && !no-exceptions
|
||||
|
||||
// <variant>
|
||||
|
||||
|
||||
@@ -9,7 +9,11 @@
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
|
||||
// XFAIL: dylib-has-no-bad_variant_access && !no-exceptions
|
||||
// Throwing bad_variant_access is supported starting in macosx10.13
|
||||
// XFAIL: with_system_cxx_lib=macosx10.12 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.11 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.10 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.9 && !no-exceptions
|
||||
|
||||
// <variant>
|
||||
|
||||
|
||||
@@ -9,7 +9,11 @@
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
|
||||
// XFAIL: dylib-has-no-bad_variant_access && !no-exceptions
|
||||
// Throwing bad_variant_access is supported starting in macosx10.13
|
||||
// XFAIL: with_system_cxx_lib=macosx10.12 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.11 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.10 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.9 && !no-exceptions
|
||||
|
||||
// <variant>
|
||||
|
||||
|
||||
@@ -9,7 +9,11 @@
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
|
||||
// XFAIL: dylib-has-no-bad_variant_access && !no-exceptions
|
||||
// Throwing bad_variant_access is supported starting in macosx10.13
|
||||
// XFAIL: with_system_cxx_lib=macosx10.12 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.11 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.10 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.9 && !no-exceptions
|
||||
|
||||
// <variant>
|
||||
|
||||
|
||||
@@ -9,7 +9,11 @@
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
|
||||
// XFAIL: dylib-has-no-bad_variant_access && !no-exceptions
|
||||
// Throwing bad_variant_access is supported starting in macosx10.13
|
||||
// XFAIL: with_system_cxx_lib=macosx10.12 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.11 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.10 && !no-exceptions
|
||||
// XFAIL: with_system_cxx_lib=macosx10.9 && !no-exceptions
|
||||
|
||||
// <variant>
|
||||
// template <class Visitor, class... Variants>
|
||||
|
||||
@@ -718,27 +718,9 @@ class Configuration(object):
|
||||
self.lit_config.note(
|
||||
"computed target_triple as: %r" % self.config.target_triple)
|
||||
|
||||
# If we're testing a system libc++ as opposed to the upstream LLVM one,
|
||||
# take the version of the system libc++ into account to compute which
|
||||
# features are enabled/disabled. Otherwise, disable availability markup,
|
||||
# If we're testing the upstream LLVM libc++, disable availability markup,
|
||||
# which is not relevant for non-shipped flavors of libc++.
|
||||
if self.use_system_cxx_lib:
|
||||
# Dylib support for shared_mutex was added in macosx10.12.
|
||||
if name == 'macosx' and version in ('10.%s' % v for v in range(9, 12)):
|
||||
self.config.available_features.add('dylib-has-no-shared_mutex')
|
||||
self.lit_config.note("shared_mutex is not supported by the deployment target")
|
||||
# Throwing bad_optional_access, bad_variant_access and bad_any_cast is
|
||||
# supported starting in macosx10.13.
|
||||
if name == 'macosx' and version in ('10.%s' % v for v in range(9, 13)):
|
||||
self.config.available_features.add('dylib-has-no-bad_optional_access')
|
||||
self.lit_config.note("throwing bad_optional_access is not supported by the deployment target")
|
||||
|
||||
self.config.available_features.add('dylib-has-no-bad_variant_access')
|
||||
self.lit_config.note("throwing bad_variant_access is not supported by the deployment target")
|
||||
|
||||
self.config.available_features.add('dylib-has-no-bad_any_cast')
|
||||
self.lit_config.note("throwing bad_any_cast is not supported by the deployment target")
|
||||
else:
|
||||
if not self.use_system_cxx_lib:
|
||||
self.cxx.compile_flags += ['-D_LIBCPP_DISABLE_AVAILABILITY']
|
||||
|
||||
def configure_env(self):
|
||||
|
||||
Reference in New Issue
Block a user