Skip to content

Commit

Permalink
[libc++/abi/unwind] Rename Lit features for no exceptions to 'no-exce…
Browse files Browse the repository at this point in the history
…ptions'

Instead of having different names for the same Lit feature accross code
bases, use the same name everywhere. This NFC commit is in preparation
for a refactor where all three projects will be using the same Lit
feature detection logic, and hence it won't be convenient to use
different names for the feature.

Differential Revision: https://reviews.llvm.org/D78370
  • Loading branch information
ldionne committed Apr 22, 2020
1 parent 72f5658 commit 8c61114
Show file tree
Hide file tree
Showing 142 changed files with 146 additions and 143 deletions.
2 changes: 1 addition & 1 deletion libcxx/test/libcxx/algorithms/debug_less.pass.cpp
Expand Up @@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//

// UNSUPPORTED: libcpp-no-exceptions
// UNSUPPORTED: no-exceptions

// <algorithm>

Expand Down
Expand Up @@ -15,7 +15,7 @@
// Make sure we abort() when exceptions are disabled and we fetch a key that
// is not in the map.

// REQUIRES: libcpp-no-exceptions
// REQUIRES: no-exceptions

#include <csignal>
#include <cstdlib>
Expand Down
Expand Up @@ -15,7 +15,7 @@
// Make sure we abort() when exceptions are disabled and we fetch a key that
// is not in the map.

// REQUIRES: libcpp-no-exceptions
// REQUIRES: no-exceptions

#include <csignal>
#include <cstdlib>
Expand Down
Expand Up @@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//

// UNSUPPORTED: libcpp-no-exceptions
// UNSUPPORTED: no-exceptions
// Test asan vector annotations with a class that throws in a CTOR.

#include <vector>
Expand Down
Expand Up @@ -15,7 +15,7 @@
// Make sure we abort() when exceptions are disabled and we fetch a key that
// is not in the map.

// REQUIRES: libcpp-no-exceptions
// REQUIRES: no-exceptions
// UNSUPPORTED: c++98, c++03

#include <csignal>
Expand Down
Expand Up @@ -15,7 +15,7 @@
// Make sure we abort() when exceptions are disabled and we fetch a key that
// is not in the map.

// REQUIRES: libcpp-no-exceptions
// REQUIRES: no-exceptions
// UNSUPPORTED: c++98, c++03

#include <csignal>
Expand Down
Expand Up @@ -15,7 +15,7 @@
// Make sure that we abort() when exceptions are disabled and the exception
// flag is set for the iostate we pass to clear().

// REQUIRES: libcpp-no-exceptions
// REQUIRES: no-exceptions

#include <csignal>
#include <cstdlib>
Expand Down
Expand Up @@ -12,7 +12,7 @@

// explicit locale( const char* std_name );

// REQUIRES: libcpp-no-exceptions
// REQUIRES: no-exceptions

// Make sure we abort() when we construct a locale with a null name and
// exceptions are disabled.
Expand Down
Expand Up @@ -12,7 +12,7 @@

// locale(const locale& other, const char* std_name, category cat);

// REQUIRES: libcpp-no-exceptions
// REQUIRES: no-exceptions

// Make sure we abort() when we construct a locale with a null name and
// exceptions are disabled.
Expand Down
Expand Up @@ -10,7 +10,7 @@

// template <class Facet> const Facet& use_facet(const locale& loc);

// REQUIRES: libcpp-no-exceptions
// REQUIRES: no-exceptions

// Make sure we abort() when we pass a facet not associated to the locale to
// use_facet() and exceptions are disabled.
Expand Down
2 changes: 1 addition & 1 deletion libcxx/test/libcxx/strings/iterators.exceptions.pass.cpp
Expand Up @@ -27,7 +27,7 @@
#ifndef TEST_HAS_NO_EXCEPTIONS
static const bool expected = false;
#else
// Under libcpp-no-exceptions all noexcept expressions are trivially true, so
// Under -fno-exceptions all noexcept expressions are trivially true, so
// any check for a noexcept returning false must actually check for it being
// true.
static const bool expected = true;
Expand Down
Expand Up @@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//

// UNSUPPORTED: libcpp-no-exceptions
// UNSUPPORTED: no-exceptions
// <deque>

// void push_back(const value_type& x);
Expand Down
Expand Up @@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//

// UNSUPPORTED: libcpp-no-exceptions
// UNSUPPORTED: no-exceptions
// <deque>

// void push_front(const value_type& x);
Expand Down
Expand Up @@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//

// UNSUPPORTED: libcpp-no-exceptions
// UNSUPPORTED: no-exceptions
// <forward_list>

// void push_front(const value_type& x);
Expand Down
Expand Up @@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//

// UNSUPPORTED: libcpp-no-exceptions
// UNSUPPORTED: no-exceptions
// <list>

// void push_back(const value_type& x);
Expand Down
Expand Up @@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//

// UNSUPPORTED: libcpp-no-exceptions
// UNSUPPORTED: no-exceptions
// <list>

// void push_front(const value_type& x);
Expand Down
Expand Up @@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//

// UNSUPPORTED: libcpp-no-exceptions
// UNSUPPORTED: no-exceptions

// This test fails due to a stack overflow
// XFAIL: LIBCXX-WINDOWS-FIXME
Expand Down
Expand Up @@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//

// UNSUPPORTED: libcpp-no-exceptions
// UNSUPPORTED: no-exceptions
// <exception>

// class nested_exception;
Expand Down
Expand Up @@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//

// UNSUPPORTED: libcpp-no-exceptions
// UNSUPPORTED: no-exceptions
// <exception>

// class nested_exception;
Expand Down
Expand Up @@ -10,7 +10,7 @@
// which copy the exception each time the exception_ptr is copied.
// XFAIL: LIBCXX-WINDOWS-FIXME

// UNSUPPORTED: libcpp-no-exceptions
// UNSUPPORTED: no-exceptions
// <exception>

// exception_ptr current_exception();
Expand Down
Expand Up @@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//

// UNSUPPORTED: libcpp-no-exceptions
// UNSUPPORTED: no-exceptions
// <exception>

// template<class E> exception_ptr make_exception_ptr(E e);
Expand Down
Expand Up @@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//

// UNSUPPORTED: libcpp-no-exceptions
// UNSUPPORTED: no-exceptions
// <exception>

// void rethrow_exception [[noreturn]] (exception_ptr p);
Expand Down
Expand Up @@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//

// UNSUPPORTED: libcpp-no-exceptions
// UNSUPPORTED: no-exceptions
// test uncaught_exception

#include <exception>
Expand Down
Expand Up @@ -6,8 +6,7 @@
//
//===----------------------------------------------------------------------===//

// UNSUPPORTED: libcpp-no-exceptions
// XFAIL: libcpp-no-exceptions
// UNSUPPORTED: no-exceptions

// std::uncaught_exceptions() was introduced in the dylib on Mac OS 10.12
// XFAIL: with_system_cxx_lib=macosx10.11
Expand Down
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

// <regex>
// UNSUPPORTED: libcpp-no-exceptions
// UNSUPPORTED: no-exceptions
// UNSUPPORTED: c++98, c++03

// template <class BidirectionalIterator, class Allocator, class charT, class traits>
Expand Down
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

// <regex>
// UNSUPPORTED: libcpp-no-exceptions
// UNSUPPORTED: no-exceptions

// template <class OutputIterator, class BidirectionalIterator,
// class traits, class charT, class ST, class SA>
Expand Down
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

// <regex>
// UNSUPPORTED: libcpp-no-exceptions
// UNSUPPORTED: no-exceptions
// UNSUPPORTED: c++98, c++03

// template <class BidirectionalIterator, class Allocator, class charT, class traits>
Expand Down
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

// <regex>
// UNSUPPORTED: libcpp-no-exceptions
// UNSUPPORTED: no-exceptions
// UNSUPPORTED: c++98, c++03

// the "n" in `a{n}` should be within the numeric limits.
Expand Down
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

// <regex>
// UNSUPPORTED: libcpp-no-exceptions
// UNSUPPORTED: no-exceptions
// UNSUPPORTED: c++98, c++03

// the "n" and "m" in `a{n,m}` should be within the numeric limits.
Expand Down
Expand Up @@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//

// UNSUPPORTED: libcpp-no-exceptions
// UNSUPPORTED: no-exceptions
// <regex>

// template <class charT, class traits = regex_traits<charT>> class basic_regex;
Expand Down
Expand Up @@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//

// UNSUPPORTED: libcpp-no-exceptions
// UNSUPPORTED: no-exceptions
// <regex>

// template <class charT, class traits = regex_traits<charT>> class basic_regex;
Expand Down
Expand Up @@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//

// UNSUPPORTED: libcpp-no-exceptions
// UNSUPPORTED: no-exceptions
// <regex>

// template <class charT, class traits = regex_traits<charT>> class basic_regex;
Expand Down
Expand Up @@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//

// UNSUPPORTED: libcpp-no-exceptions
// UNSUPPORTED: no-exceptions
// <regex>

// template <class charT, class traits = regex_traits<charT>> class basic_regex;
Expand Down
Expand Up @@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//

// UNSUPPORTED: libcpp-no-exceptions
// UNSUPPORTED: no-exceptions
// <regex>

// template <class charT, class traits = regex_traits<charT>> class basic_regex;
Expand Down
Expand Up @@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//

// UNSUPPORTED: libcpp-no-exceptions
// UNSUPPORTED: no-exceptions
// <string>

// size_type max_size() const;
Expand Down
Expand Up @@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//

// UNSUPPORTED: libcpp-no-exceptions
// UNSUPPORTED: no-exceptions
// XFAIL: with_system_cxx_lib=macosx10.11
// XFAIL: with_system_cxx_lib=macosx10.10
// XFAIL: with_system_cxx_lib=macosx10.9
Expand Down
Expand Up @@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//
//
// UNSUPPORTED: libcpp-no-exceptions
// UNSUPPORTED: no-exceptions
// UNSUPPORTED: libcpp-has-no-threads
// UNSUPPORTED: c++98, c++03

Expand Down
Expand Up @@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//
//
// UNSUPPORTED: libcpp-no-exceptions
// UNSUPPORTED: no-exceptions
// UNSUPPORTED: libcpp-has-no-threads
// UNSUPPORTED: c++98, c++03

Expand Down
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

// UNSUPPORTED: c++98, c++03
// UNSUPPORTED: libcpp-has-no-threads, libcpp-no-exceptions
// UNSUPPORTED: libcpp-has-no-threads, no-exceptions

// <future>

Expand Down
Expand Up @@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//
//
// UNSUPPORTED: libcpp-no-exceptions
// UNSUPPORTED: no-exceptions
// UNSUPPORTED: libcpp-has-no-threads
// UNSUPPORTED: c++98, c++03

Expand Down
Expand Up @@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//
//
// UNSUPPORTED: libcpp-no-exceptions
// UNSUPPORTED: no-exceptions
// UNSUPPORTED: libcpp-has-no-threads
// UNSUPPORTED: c++98, c++03

Expand Down
Expand Up @@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//
//
// UNSUPPORTED: libcpp-no-exceptions
// UNSUPPORTED: no-exceptions
// UNSUPPORTED: libcpp-has-no-threads
// UNSUPPORTED: c++98, c++03

Expand Down
Expand Up @@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//

// UNSUPPORTED: libcpp-no-exceptions
// UNSUPPORTED: no-exceptions
// UNSUPPORTED: libcpp-has-no-threads

// <condition_variable>
Expand Down
Expand Up @@ -8,7 +8,7 @@

// UNSUPPORTED: c++98, c++03, c++11, c++14

// XFAIL: dylib-has-no-bad_any_cast && !libcpp-no-exceptions
// XFAIL: dylib-has-no-bad_any_cast && !no-exceptions

// <any>

Expand Down

0 comments on commit 8c61114

Please sign in to comment.