Change from "XFAIL: libcpp-no-exceptions" to "UNSUPPORTED: libcpp-no-exceptions" tests that only check exceptions and nothing else
This is a follow up of D24562. These tests do not check anything but exceptions, so it makes sense to mark them as UNSUPPORTED under a library built without exceptions. Differential Revision: https://reviews.llvm.org/D26075 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@285550 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
//
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
// XFAIL: libcpp-no-exceptions
|
// UNSUPPORTED: libcpp-no-exceptions
|
||||||
// Test asan vector annotations with a class that throws in a CTOR.
|
// Test asan vector annotations with a class that throws in a CTOR.
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
//
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
// XFAIL: libcpp-no-exceptions
|
// UNSUPPORTED: libcpp-no-exceptions
|
||||||
// dynarray.cons
|
// dynarray.cons
|
||||||
|
|
||||||
// explicit dynarray(size_type c);
|
// explicit dynarray(size_type c);
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
// UNSUPPORTED: c++98, c++03, c++11
|
// UNSUPPORTED: c++98, c++03, c++11
|
||||||
// XFAIL: libcpp-no-exceptions
|
// UNSUPPORTED: libcpp-no-exceptions
|
||||||
// dynarray.overview
|
// dynarray.overview
|
||||||
|
|
||||||
// const_reference at(size_type n) const;
|
// const_reference at(size_type n) const;
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
//
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
// XFAIL: libcpp-no-exceptions
|
// UNSUPPORTED: libcpp-no-exceptions
|
||||||
// <deque>
|
// <deque>
|
||||||
|
|
||||||
// void push_back(const value_type& x);
|
// void push_back(const value_type& x);
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
//
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
// XFAIL: libcpp-no-exceptions
|
// UNSUPPORTED: libcpp-no-exceptions
|
||||||
// <deque>
|
// <deque>
|
||||||
|
|
||||||
// void push_front(const value_type& x);
|
// void push_front(const value_type& x);
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
//
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
// XFAIL: libcpp-no-exceptions
|
// UNSUPPORTED: libcpp-no-exceptions
|
||||||
// <forward_list>
|
// <forward_list>
|
||||||
|
|
||||||
// void push_front(const value_type& x);
|
// void push_front(const value_type& x);
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
//
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
// XFAIL: libcpp-no-exceptions
|
// UNSUPPORTED: libcpp-no-exceptions
|
||||||
// <list>
|
// <list>
|
||||||
|
|
||||||
// void push_back(const value_type& x);
|
// void push_back(const value_type& x);
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
//
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
// XFAIL: libcpp-no-exceptions
|
// UNSUPPORTED: libcpp-no-exceptions
|
||||||
// <list>
|
// <list>
|
||||||
|
|
||||||
// void push_front(const value_type& x);
|
// void push_front(const value_type& x);
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
//
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
// XFAIL: libcpp-no-exceptions
|
// UNSUPPORTED: libcpp-no-exceptions
|
||||||
// <exception>
|
// <exception>
|
||||||
|
|
||||||
// class nested_exception;
|
// class nested_exception;
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
//
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
// XFAIL: libcpp-no-exceptions
|
// UNSUPPORTED: libcpp-no-exceptions
|
||||||
// <exception>
|
// <exception>
|
||||||
|
|
||||||
// class nested_exception;
|
// class nested_exception;
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
//
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
// XFAIL: libcpp-no-exceptions
|
// UNSUPPORTED: libcpp-no-exceptions
|
||||||
// <exception>
|
// <exception>
|
||||||
|
|
||||||
// class nested_exception;
|
// class nested_exception;
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
//
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
// XFAIL: libcpp-no-exceptions
|
// UNSUPPORTED: libcpp-no-exceptions
|
||||||
// <exception>
|
// <exception>
|
||||||
|
|
||||||
// exception_ptr current_exception();
|
// exception_ptr current_exception();
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
//
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
// XFAIL: libcpp-no-exceptions
|
// UNSUPPORTED: libcpp-no-exceptions
|
||||||
// <exception>
|
// <exception>
|
||||||
|
|
||||||
// template<class E> exception_ptr make_exception_ptr(E e);
|
// template<class E> exception_ptr make_exception_ptr(E e);
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
//
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
// XFAIL: libcpp-no-exceptions
|
// UNSUPPORTED: libcpp-no-exceptions
|
||||||
// <exception>
|
// <exception>
|
||||||
|
|
||||||
// void rethrow_exception [[noreturn]] (exception_ptr p);
|
// void rethrow_exception [[noreturn]] (exception_ptr p);
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
//
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
// XFAIL: libcpp-no-exceptions
|
// UNSUPPORTED: libcpp-no-exceptions
|
||||||
// test uncaught_exception
|
// test uncaught_exception
|
||||||
|
|
||||||
#include <exception>
|
#include <exception>
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
//
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
// XFAIL: libcpp-no-exceptions
|
// UNSUPPORTED: libcpp-no-exceptions
|
||||||
// test uncaught_exceptions
|
// test uncaught_exceptions
|
||||||
|
|
||||||
#include <exception>
|
#include <exception>
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
//
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
// XFAIL: libcpp-no-exceptions
|
// UNSUPPORTED: libcpp-no-exceptions
|
||||||
// <string>
|
// <string>
|
||||||
|
|
||||||
// size_type max_size() const;
|
// size_type max_size() const;
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
//
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
// XFAIL: libcpp-no-exceptions
|
// UNSUPPORTED: libcpp-no-exceptions
|
||||||
// <string>
|
// <string>
|
||||||
|
|
||||||
// size_type max_size() const;
|
// size_type max_size() const;
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
//
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
// XFAIL: libcpp-no-exceptions
|
// UNSUPPORTED: libcpp-no-exceptions
|
||||||
// UNSUPPORTED: libcpp-has-no-threads
|
// UNSUPPORTED: libcpp-has-no-threads
|
||||||
|
|
||||||
// <condition_variable>
|
// <condition_variable>
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
//
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
// XFAIL: libcpp-no-exceptions
|
// UNSUPPORTED: libcpp-no-exceptions
|
||||||
// <memory>
|
// <memory>
|
||||||
|
|
||||||
// allocator:
|
// allocator:
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
//
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
// XFAIL: libcpp-no-exceptions
|
// UNSUPPORTED: libcpp-no-exceptions
|
||||||
// <memory>
|
// <memory>
|
||||||
|
|
||||||
// template<class D, class A> shared_ptr(nullptr_t, D d, A a);
|
// template<class D, class A> shared_ptr(nullptr_t, D d, A a);
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
//
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
// XFAIL: libcpp-no-exceptions
|
// UNSUPPORTED: libcpp-no-exceptions
|
||||||
// UNSUPPORTED: sanitizer-new-delete
|
// UNSUPPORTED: sanitizer-new-delete
|
||||||
|
|
||||||
// <memory>
|
// <memory>
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
//
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
// XFAIL: libcpp-no-exceptions
|
// UNSUPPORTED: libcpp-no-exceptions
|
||||||
// <memory>
|
// <memory>
|
||||||
|
|
||||||
// template<class Y, class D, class A> shared_ptr(Y* p, D d, A a);
|
// template<class Y, class D, class A> shared_ptr(Y* p, D d, A a);
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
//
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
// XFAIL: libcpp-no-exceptions
|
// UNSUPPORTED: libcpp-no-exceptions
|
||||||
// UNSUPPORTED: sanitizer-new-delete
|
// UNSUPPORTED: sanitizer-new-delete
|
||||||
|
|
||||||
// <memory>
|
// <memory>
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
//
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
// XFAIL: libcpp-no-exceptions
|
// UNSUPPORTED: libcpp-no-exceptions
|
||||||
// UNSUPPORTED: sanitizer-new-delete
|
// UNSUPPORTED: sanitizer-new-delete
|
||||||
|
|
||||||
// <memory>
|
// <memory>
|
||||||
|
|||||||
Reference in New Issue
Block a user