ソースを参照

Make it possible to build a no-exceptions variant of libcxx.

Fixes a small omission in libcxx that prevents libcxx being built when
-DLIBCXX_ENABLE_EXCEPTIONS=0 is specified.

This patch adds XFAILS to all those tests that are currently failing
on the new -fno-exceptions library variant. Follow-up patches will
update the tests (progressively) to cope with the new library variant.

Change-Id: I4b801bd8d8e4fe7193df9e55f39f1f393a8ba81a

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@252598 91177308-0d34-0410-b5e6-96231b3b80d8
Asiri Rathnayake 9 年 前
コミット
cc2e93cff0
100 ファイル変更101 行追加0 行削除
  1. 2 0
      src/future.cpp
  2. 1 0
      test/libcxx/containers/sequences/vector/asan_throw.pass.cpp
  3. 1 0
      test/libcxx/experimental/containers/sequences/dynarray/dynarray.cons/default.pass.cpp
  4. 1 0
      test/libcxx/experimental/containers/sequences/dynarray/dynarray.cons/default_throws_bad_alloc.pass.cpp
  5. 1 0
      test/libcxx/experimental/containers/sequences/dynarray/dynarray.overview/at.pass.cpp
  6. 1 0
      test/std/containers/associative/map/map.access/at.pass.cpp
  7. 1 0
      test/std/containers/sequences/array/at.pass.cpp
  8. 1 0
      test/std/containers/sequences/deque/deque.modifiers/push_back_exception_safety.pass.cpp
  9. 1 0
      test/std/containers/sequences/deque/deque.modifiers/push_front_exception_safety.pass.cpp
  10. 1 0
      test/std/containers/sequences/forwardlist/forwardlist.modifiers/push_front_exception_safety.pass.cpp
  11. 1 0
      test/std/containers/sequences/list/list.modifiers/insert_iter_iter_iter.pass.cpp
  12. 1 0
      test/std/containers/sequences/list/list.modifiers/insert_iter_size_value.pass.cpp
  13. 1 0
      test/std/containers/sequences/list/list.modifiers/insert_iter_value.pass.cpp
  14. 1 0
      test/std/containers/sequences/list/list.modifiers/push_back_exception_safety.pass.cpp
  15. 1 0
      test/std/containers/sequences/list/list.modifiers/push_front_exception_safety.pass.cpp
  16. 1 0
      test/std/containers/sequences/vector/vector.modifiers/push_back_exception_safety.pass.cpp
  17. 1 0
      test/std/containers/unord/unord.map/unord.map.elem/at.pass.cpp
  18. 1 0
      test/std/depr/depr.c.headers/uchar_h.pass.cpp
  19. 1 0
      test/std/experimental/optional/optional.object/optional.object.assign/copy.pass.cpp
  20. 1 0
      test/std/experimental/optional/optional.object/optional.object.assign/emplace.pass.cpp
  21. 1 0
      test/std/experimental/optional/optional.object/optional.object.assign/emplace_initializer_list.pass.cpp
  22. 1 0
      test/std/experimental/optional/optional.object/optional.object.assign/move.pass.cpp
  23. 1 0
      test/std/experimental/optional/optional.object/optional.object.ctor/const_T.pass.cpp
  24. 1 0
      test/std/experimental/optional/optional.object/optional.object.ctor/copy.pass.cpp
  25. 1 0
      test/std/experimental/optional/optional.object/optional.object.ctor/in_place_t.pass.cpp
  26. 1 0
      test/std/experimental/optional/optional.object/optional.object.ctor/initializer_list.pass.cpp
  27. 1 0
      test/std/experimental/optional/optional.object/optional.object.ctor/move.pass.cpp
  28. 1 0
      test/std/experimental/optional/optional.object/optional.object.ctor/rvalue_T.pass.cpp
  29. 1 0
      test/std/experimental/optional/optional.object/optional.object.observe/value.pass.cpp
  30. 1 0
      test/std/experimental/optional/optional.object/optional.object.observe/value_const.pass.cpp
  31. 1 0
      test/std/experimental/optional/optional.object/optional.object.swap/swap.pass.cpp
  32. 1 0
      test/std/experimental/optional/optional.specalg/swap.pass.cpp
  33. 1 0
      test/std/experimental/string.view/string.view.access/at.pass.cpp
  34. 1 0
      test/std/experimental/string.view/string.view.ops/compare.pointer_size.pass.cpp
  35. 1 0
      test/std/experimental/string.view/string.view.ops/compare.size_size_sv.pass.cpp
  36. 1 0
      test/std/experimental/string.view/string.view.ops/compare.size_size_sv_pointer_size.pass.cpp
  37. 1 0
      test/std/experimental/string.view/string.view.ops/compare.size_size_sv_size_size.pass.cpp
  38. 1 0
      test/std/experimental/string.view/string.view.ops/copy.pass.cpp
  39. 1 0
      test/std/experimental/string.view/string.view.ops/substr.pass.cpp
  40. 1 0
      test/std/input.output/iostream.format/output.streams/ostream_sentry/destruct.pass.cpp
  41. 1 0
      test/std/input.output/iostreams.base/ios/basic.ios.members/set_rdbuf.pass.cpp
  42. 1 0
      test/std/input.output/iostreams.base/ios/iostate.flags/clear.pass.cpp
  43. 1 0
      test/std/input.output/iostreams.base/ios/iostate.flags/exceptions_iostate.pass.cpp
  44. 1 0
      test/std/input.output/iostreams.base/ios/iostate.flags/setstate.pass.cpp
  45. 1 0
      test/std/language.support/support.dynamic/new.delete/new.delete.array/new_array.pass.cpp
  46. 1 0
      test/std/language.support/support.dynamic/new.delete/new.delete.array/new_array_nothrow.pass.cpp
  47. 1 0
      test/std/language.support/support.dynamic/new.delete/new.delete.single/new.pass.cpp
  48. 1 0
      test/std/language.support/support.dynamic/new.delete/new.delete.single/new_nothrow.pass.cpp
  49. 1 0
      test/std/language.support/support.exception/except.nested/assign.pass.cpp
  50. 1 0
      test/std/language.support/support.exception/except.nested/ctor_copy.pass.cpp
  51. 1 0
      test/std/language.support/support.exception/except.nested/ctor_default.pass.cpp
  52. 1 0
      test/std/language.support/support.exception/except.nested/rethrow_if_nested.pass.cpp
  53. 1 0
      test/std/language.support/support.exception/except.nested/rethrow_nested.pass.cpp
  54. 1 0
      test/std/language.support/support.exception/except.nested/throw_with_nested.pass.cpp
  55. 1 0
      test/std/language.support/support.exception/propagation/current_exception.pass.cpp
  56. 1 0
      test/std/language.support/support.exception/propagation/make_exception_ptr.pass.cpp
  57. 1 0
      test/std/language.support/support.exception/propagation/rethrow_exception.pass.cpp
  58. 1 0
      test/std/language.support/support.exception/uncaught/uncaught_exception.pass.cpp
  59. 1 0
      test/std/language.support/support.exception/uncaught/uncaught_exceptions.pass.cpp
  60. 1 0
      test/std/localization/locale.categories/category.collate/locale.collate.byname/transform.pass.cpp
  61. 1 0
      test/std/localization/locales/locale.convenience/conversions/conversions.string/ctor_err_string.pass.cpp
  62. 1 0
      test/std/localization/locales/locale.global.templates/use_facet.pass.cpp
  63. 1 0
      test/std/localization/locales/locale/locale.members/combine.pass.cpp
  64. 1 0
      test/std/numerics/complex.number/complex.ops/complex_divide_complex.pass.cpp
  65. 1 0
      test/std/numerics/rand/rand.device/ctor.pass.cpp
  66. 1 0
      test/std/numerics/rand/rand.device/eval.pass.cpp
  67. 1 0
      test/std/re/re.alg/re.alg.search/grep.pass.cpp
  68. 1 0
      test/std/re/re.regex/re.regex.assign/assign.pass.cpp
  69. 1 0
      test/std/re/re.regex/re.regex.construct/bad_escape.pass.cpp
  70. 1 0
      test/std/re/re.regex/re.regex.construct/bad_repeat.pass.cpp
  71. 1 0
      test/std/strings/basic.string/string.access/at.pass.cpp
  72. 1 0
      test/std/strings/basic.string/string.capacity/capacity.pass.cpp
  73. 1 0
      test/std/strings/basic.string/string.capacity/max_size.pass.cpp
  74. 1 0
      test/std/strings/basic.string/string.capacity/over_max_size.pass.cpp
  75. 1 0
      test/std/strings/basic.string/string.capacity/reserve.pass.cpp
  76. 1 0
      test/std/strings/basic.string/string.capacity/resize_size.pass.cpp
  77. 1 0
      test/std/strings/basic.string/string.capacity/resize_size_char.pass.cpp
  78. 1 0
      test/std/strings/basic.string/string.cons/substr.pass.cpp
  79. 1 0
      test/std/strings/basic.string/string.modifiers/string_append/string_size_size.pass.cpp
  80. 1 0
      test/std/strings/basic.string/string.modifiers/string_assign/string_size_size.pass.cpp
  81. 1 0
      test/std/strings/basic.string/string.modifiers/string_copy/copy.pass.cpp
  82. 1 0
      test/std/strings/basic.string/string.modifiers/string_erase/size_size.pass.cpp
  83. 1 0
      test/std/strings/basic.string/string.modifiers/string_insert/size_pointer.pass.cpp
  84. 1 0
      test/std/strings/basic.string/string.modifiers/string_insert/size_pointer_size.pass.cpp
  85. 1 0
      test/std/strings/basic.string/string.modifiers/string_insert/size_size_char.pass.cpp
  86. 1 0
      test/std/strings/basic.string/string.modifiers/string_insert/size_string.pass.cpp
  87. 1 0
      test/std/strings/basic.string/string.modifiers/string_insert/size_string_size_size.pass.cpp
  88. 1 0
      test/std/strings/basic.string/string.modifiers/string_replace/size_size_pointer.pass.cpp
  89. 1 0
      test/std/strings/basic.string/string.modifiers/string_replace/size_size_pointer_size.pass.cpp
  90. 1 0
      test/std/strings/basic.string/string.modifiers/string_replace/size_size_size_char.pass.cpp
  91. 1 0
      test/std/strings/basic.string/string.modifiers/string_replace/size_size_string.pass.cpp
  92. 1 0
      test/std/strings/basic.string/string.modifiers/string_replace/size_size_string_size_size.pass.cpp
  93. 1 0
      test/std/strings/basic.string/string.ops/string_compare/size_size_pointer.pass.cpp
  94. 1 0
      test/std/strings/basic.string/string.ops/string_compare/size_size_pointer_size.pass.cpp
  95. 1 0
      test/std/strings/basic.string/string.ops/string_compare/size_size_string.pass.cpp
  96. 1 0
      test/std/strings/basic.string/string.ops/string_compare/size_size_string_size_size.pass.cpp
  97. 1 0
      test/std/strings/basic.string/string.ops/string_substr/substr.pass.cpp
  98. 1 0
      test/std/strings/string.conversions/stod.pass.cpp
  99. 1 0
      test/std/strings/string.conversions/stof.pass.cpp
  100. 1 0
      test/std/strings/string.conversions/stoi.pass.cpp

+ 2 - 0
src/future.cpp

@@ -221,10 +221,12 @@ promise<void>::~promise()
 {
 {
     if (__state_)
     if (__state_)
     {
     {
+#ifndef _LIBCPP_NO_EXCEPTIONS
         if (!__state_->__has_value() && __state_->use_count() > 1)
         if (!__state_->__has_value() && __state_->use_count() > 1)
             __state_->set_exception(make_exception_ptr(
             __state_->set_exception(make_exception_ptr(
                       future_error(make_error_code(future_errc::broken_promise))
                       future_error(make_error_code(future_errc::broken_promise))
                                                       ));
                                                       ));
+#endif // _LIBCPP_NO_EXCEPTIONS
         __state_->__release_shared();
         __state_->__release_shared();
     }
     }
 }
 }

+ 1 - 0
test/libcxx/containers/sequences/vector/asan_throw.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: 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>

+ 1 - 0
test/libcxx/experimental/containers/sequences/dynarray/dynarray.cons/default.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // UNSUPPORTED: c++98, c++03, c++11
 // UNSUPPORTED: c++98, c++03, c++11
 
 
 // dynarray.cons
 // dynarray.cons

+ 1 - 0
test/libcxx/experimental/containers/sequences/dynarray/dynarray.cons/default_throws_bad_alloc.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // dynarray.cons
 // dynarray.cons
 
 
 // explicit dynarray(size_type c);
 // explicit dynarray(size_type c);

+ 1 - 0
test/libcxx/experimental/containers/sequences/dynarray/dynarray.overview/at.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // dynarray.overview
 // dynarray.overview
 
 
 // const_reference at(size_type n) const;
 // const_reference at(size_type n) const;

+ 1 - 0
test/std/containers/associative/map/map.access/at.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <map>
 // <map>
 
 
 // class map
 // class map

+ 1 - 0
test/std/containers/sequences/array/at.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <array>
 // <array>
 
 
 // reference operator[] (size_type)
 // reference operator[] (size_type)

+ 1 - 0
test/std/containers/sequences/deque/deque.modifiers/push_back_exception_safety.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <deque>
 // <deque>
 
 
 // void push_back(const value_type& x);
 // void push_back(const value_type& x);

+ 1 - 0
test/std/containers/sequences/deque/deque.modifiers/push_front_exception_safety.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <deque>
 // <deque>
 
 
 // void push_front(const value_type& x);
 // void push_front(const value_type& x);

+ 1 - 0
test/std/containers/sequences/forwardlist/forwardlist.modifiers/push_front_exception_safety.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <forward_list>
 // <forward_list>
 
 
 // void push_front(const value_type& x);
 // void push_front(const value_type& x);

+ 1 - 0
test/std/containers/sequences/list/list.modifiers/insert_iter_iter_iter.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <list>
 // <list>
 
 
 // template <InputIterator Iter>
 // template <InputIterator Iter>

+ 1 - 0
test/std/containers/sequences/list/list.modifiers/insert_iter_size_value.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <list>
 // <list>
 
 
 // iterator insert(const_iterator position, size_type n, const value_type& x);
 // iterator insert(const_iterator position, size_type n, const value_type& x);

+ 1 - 0
test/std/containers/sequences/list/list.modifiers/insert_iter_value.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <list>
 // <list>
 
 
 // iterator insert(const_iterator position, const value_type& x);
 // iterator insert(const_iterator position, const value_type& x);

+ 1 - 0
test/std/containers/sequences/list/list.modifiers/push_back_exception_safety.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <list>
 // <list>
 
 
 // void push_back(const value_type& x);
 // void push_back(const value_type& x);

+ 1 - 0
test/std/containers/sequences/list/list.modifiers/push_front_exception_safety.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <list>
 // <list>
 
 
 // void push_front(const value_type& x);
 // void push_front(const value_type& x);

+ 1 - 0
test/std/containers/sequences/vector/vector.modifiers/push_back_exception_safety.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <vector>
 // <vector>
 
 
 // void push_back(const value_type& x);
 // void push_back(const value_type& x);

+ 1 - 0
test/std/containers/unord/unord.map/unord.map.elem/at.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <unordered_map>
 // <unordered_map>
 
 
 // template <class Key, class T, class Hash = hash<Key>, class Pred = equal_to<Key>,
 // template <class Key, class T, class Hash = hash<Key>, class Pred = equal_to<Key>,

+ 1 - 0
test/std/depr/depr.c.headers/uchar_h.pass.cpp

@@ -9,6 +9,7 @@
 //
 //
 // XFAIL: apple-darwin
 // XFAIL: apple-darwin
 // XFAIL: newlib
 // XFAIL: newlib
+// XFAIL: libcpp-no-exceptions
 
 
 // <uchar.h>
 // <uchar.h>
 
 

+ 1 - 0
test/std/experimental/optional/optional.object/optional.object.assign/copy.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <optional>
 // <optional>
 
 
 // optional<T>& operator=(const optional<T>& rhs);
 // optional<T>& operator=(const optional<T>& rhs);

+ 1 - 0
test/std/experimental/optional/optional.object/optional.object.assign/emplace.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <optional>
 // <optional>
 
 
 // template <class... Args> void optional<T>::emplace(Args&&... args);
 // template <class... Args> void optional<T>::emplace(Args&&... args);

+ 1 - 0
test/std/experimental/optional/optional.object/optional.object.assign/emplace_initializer_list.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <optional>
 // <optional>
 
 
 // template <class U, class... Args>
 // template <class U, class... Args>

+ 1 - 0
test/std/experimental/optional/optional.object/optional.object.assign/move.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <optional>
 // <optional>
 
 
 // optional<T>& operator=(optional<T>&& rhs)
 // optional<T>& operator=(optional<T>&& rhs)

+ 1 - 0
test/std/experimental/optional/optional.object/optional.object.ctor/const_T.pass.cpp

@@ -8,6 +8,7 @@
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 //
 //
 // UNSUPPORTED: c++98, c++03, c++11
 // UNSUPPORTED: c++98, c++03, c++11
+// XFAIL: libcpp-no-exceptions
 
 
 // <optional>
 // <optional>
 
 

+ 1 - 0
test/std/experimental/optional/optional.object/optional.object.ctor/copy.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <optional>
 // <optional>
 
 
 // optional(const optional<T>& rhs);
 // optional(const optional<T>& rhs);

+ 1 - 0
test/std/experimental/optional/optional.object/optional.object.ctor/in_place_t.pass.cpp

@@ -8,6 +8,7 @@
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 //
 //
 // UNSUPPORTED: c++98, c++03, c++11
 // UNSUPPORTED: c++98, c++03, c++11
+// XFAIL: libcpp-no-exceptions
 
 
 // <optional>
 // <optional>
 
 

+ 1 - 0
test/std/experimental/optional/optional.object/optional.object.ctor/initializer_list.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <optional>
 // <optional>
 
 
 // template <class U, class... Args>
 // template <class U, class... Args>

+ 1 - 0
test/std/experimental/optional/optional.object/optional.object.ctor/move.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <optional>
 // <optional>
 
 
 // optional(optional<T>&& rhs) noexcept(is_nothrow_move_constructible<T>::value);
 // optional(optional<T>&& rhs) noexcept(is_nothrow_move_constructible<T>::value);

+ 1 - 0
test/std/experimental/optional/optional.object/optional.object.ctor/rvalue_T.pass.cpp

@@ -8,6 +8,7 @@
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 //
 //
 // UNSUPPORTED: c++98, c++03, c++11
 // UNSUPPORTED: c++98, c++03, c++11
+// XFAIL: libcpp-no-exceptions
 
 
 // <optional>
 // <optional>
 
 

+ 1 - 0
test/std/experimental/optional/optional.object/optional.object.observe/value.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <optional>
 // <optional>
 
 
 // T& optional<T>::value();
 // T& optional<T>::value();

+ 1 - 0
test/std/experimental/optional/optional.object/optional.object.observe/value_const.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <optional>
 // <optional>
 
 
 // constexpr const T& optional<T>::value() const;
 // constexpr const T& optional<T>::value() const;

+ 1 - 0
test/std/experimental/optional/optional.object/optional.object.swap/swap.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <optional>
 // <optional>
 
 
 // void swap(optional&)
 // void swap(optional&)

+ 1 - 0
test/std/experimental/optional/optional.specalg/swap.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <optional>
 // <optional>
 
 
 // template <class T> void swap(optional<T>& x, optional<T>& y)
 // template <class T> void swap(optional<T>& x, optional<T>& y)

+ 1 - 0
test/std/experimental/string.view/string.view.access/at.pass.cpp

@@ -10,6 +10,7 @@
 // NOTE: Older versions of clang have a bug where they fail to evalute
 // NOTE: Older versions of clang have a bug where they fail to evalute
 // string_view::at as a constant expression.
 // string_view::at as a constant expression.
 // XFAIL: clang-3.4, clang-3.3
 // XFAIL: clang-3.4, clang-3.3
+// XFAIL: libcpp-no-exceptions
 
 
 // <string_view>
 // <string_view>
 
 

+ 1 - 0
test/std/experimental/string.view/string.view.ops/compare.pointer_size.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <string_view>
 // <string_view>
 
 
 // constexpr int compare(size_type pos1, size_type n1, const charT* s) const;
 // constexpr int compare(size_type pos1, size_type n1, const charT* s) const;

+ 1 - 0
test/std/experimental/string.view/string.view.ops/compare.size_size_sv.pass.cpp

@@ -8,6 +8,7 @@
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
 
 
+// XFAIL: libcpp-no-exceptions
 // <string_view>
 // <string_view>
 
 
 // constexpr int compare(size_type pos1, size_type n1, basic_string_view str) const;
 // constexpr int compare(size_type pos1, size_type n1, basic_string_view str) const;

+ 1 - 0
test/std/experimental/string.view/string.view.ops/compare.size_size_sv_pointer_size.pass.cpp

@@ -8,6 +8,7 @@
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
 
 
+// XFAIL: libcpp-no-exceptions
 // <string_view>
 // <string_view>
 
 
 // constexpr int compare(size_type pos1, size_type n1,
 // constexpr int compare(size_type pos1, size_type n1,

+ 1 - 0
test/std/experimental/string.view/string.view.ops/compare.size_size_sv_size_size.pass.cpp

@@ -8,6 +8,7 @@
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
 
 
+// XFAIL: libcpp-no-exceptions
 // <string_view>
 // <string_view>
 
 
 // constexpr int compare(size_type pos1, size_type n1, basic_string_view str,
 // constexpr int compare(size_type pos1, size_type n1, basic_string_view str,

+ 1 - 0
test/std/experimental/string.view/string.view.ops/copy.pass.cpp

@@ -8,6 +8,7 @@
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
 
 
+// XFAIL: libcpp-no-exceptions
 // <string_view>
 // <string_view>
 
 
 // size_type copy(charT* s, size_type n, size_type pos = 0) const;
 // size_type copy(charT* s, size_type n, size_type pos = 0) const;

+ 1 - 0
test/std/experimental/string.view/string.view.ops/substr.pass.cpp

@@ -8,6 +8,7 @@
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
 
 
+// XFAIL: libcpp-no-exceptions
 // <string_view>
 // <string_view>
 
 
 // constexpr basic_string_view substr(size_type pos = 0, size_type n = npos) const;
 // constexpr basic_string_view substr(size_type pos = 0, size_type n = npos) const;

+ 1 - 0
test/std/input.output/iostream.format/output.streams/ostream_sentry/destruct.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <ostream>
 // <ostream>
 
 
 // template <class charT, class traits = char_traits<charT> >
 // template <class charT, class traits = char_traits<charT> >

+ 1 - 0
test/std/input.output/iostreams.base/ios/basic.ios.members/set_rdbuf.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <ios>
 // <ios>
 
 
 // template <class charT, class traits> class basic_ios
 // template <class charT, class traits> class basic_ios

+ 1 - 0
test/std/input.output/iostreams.base/ios/iostate.flags/clear.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <ios>
 // <ios>
 
 
 // template <class charT, class traits> class basic_ios
 // template <class charT, class traits> class basic_ios

+ 1 - 0
test/std/input.output/iostreams.base/ios/iostate.flags/exceptions_iostate.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <ios>
 // <ios>
 
 
 // template <class charT, class traits> class basic_ios
 // template <class charT, class traits> class basic_ios

+ 1 - 0
test/std/input.output/iostreams.base/ios/iostate.flags/setstate.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <ios>
 // <ios>
 
 
 // template <class charT, class traits> class basic_ios
 // template <class charT, class traits> class basic_ios

+ 1 - 0
test/std/language.support/support.dynamic/new.delete/new.delete.array/new_array.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // test operator new[]
 // test operator new[]
 // NOTE: asan and msan will not call the new handler.
 // NOTE: asan and msan will not call the new handler.
 // UNSUPPORTED: sanitizer-new-delete
 // UNSUPPORTED: sanitizer-new-delete

+ 1 - 0
test/std/language.support/support.dynamic/new.delete/new.delete.array/new_array_nothrow.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // test operator new [] (nothrow)
 // test operator new [] (nothrow)
 // NOTE: asan and msan will not call the new handler.
 // NOTE: asan and msan will not call the new handler.
 // UNSUPPORTED: sanitizer-new-delete
 // UNSUPPORTED: sanitizer-new-delete

+ 1 - 0
test/std/language.support/support.dynamic/new.delete/new.delete.single/new.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // test operator new
 // test operator new
 
 
 // asan and msan will not call the new handler.
 // asan and msan will not call the new handler.

+ 1 - 0
test/std/language.support/support.dynamic/new.delete/new.delete.single/new_nothrow.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // test operator new (nothrow)
 // test operator new (nothrow)
 
 
 // asan and msan will not call the new handler.
 // asan and msan will not call the new handler.

+ 1 - 0
test/std/language.support/support.exception/except.nested/assign.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <exception>
 // <exception>
 
 
 // class nested_exception;
 // class nested_exception;

+ 1 - 0
test/std/language.support/support.exception/except.nested/ctor_copy.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <exception>
 // <exception>
 
 
 // class nested_exception;
 // class nested_exception;

+ 1 - 0
test/std/language.support/support.exception/except.nested/ctor_default.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <exception>
 // <exception>
 
 
 // class nested_exception;
 // class nested_exception;

+ 1 - 0
test/std/language.support/support.exception/except.nested/rethrow_if_nested.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <exception>
 // <exception>
 
 
 // class nested_exception;
 // class nested_exception;

+ 1 - 0
test/std/language.support/support.exception/except.nested/rethrow_nested.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <exception>
 // <exception>
 
 
 // class nested_exception;
 // class nested_exception;

+ 1 - 0
test/std/language.support/support.exception/except.nested/throw_with_nested.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <exception>
 // <exception>
 
 
 // class nested_exception;
 // class nested_exception;

+ 1 - 0
test/std/language.support/support.exception/propagation/current_exception.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <exception>
 // <exception>
 
 
 // exception_ptr current_exception();
 // exception_ptr current_exception();

+ 1 - 0
test/std/language.support/support.exception/propagation/make_exception_ptr.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: 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);

+ 1 - 0
test/std/language.support/support.exception/propagation/rethrow_exception.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <exception>
 // <exception>
 
 
 // void rethrow_exception [[noreturn]] (exception_ptr p);
 // void rethrow_exception [[noreturn]] (exception_ptr p);

+ 1 - 0
test/std/language.support/support.exception/uncaught/uncaught_exception.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // test uncaught_exception
 // test uncaught_exception
 
 
 #include <exception>
 #include <exception>

+ 1 - 0
test/std/language.support/support.exception/uncaught/uncaught_exceptions.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // test uncaught_exceptions
 // test uncaught_exceptions
 
 
 #include <exception>
 #include <exception>

+ 1 - 0
test/std/localization/locale.categories/category.collate/locale.collate.byname/transform.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <locale>
 // <locale>
 
 
 // template <class charT> class collate_byname
 // template <class charT> class collate_byname

+ 1 - 0
test/std/localization/locales/locale.convenience/conversions/conversions.string/ctor_err_string.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <locale>
 // <locale>
 
 
 // wstring_convert<Codecvt, Elem, Wide_alloc, Byte_alloc>
 // wstring_convert<Codecvt, Elem, Wide_alloc, Byte_alloc>

+ 1 - 0
test/std/localization/locales/locale.global.templates/use_facet.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <locale>
 // <locale>
 
 
 // template <class Facet> const Facet& use_facet(const locale& loc);
 // template <class Facet> const Facet& use_facet(const locale& loc);

+ 1 - 0
test/std/localization/locales/locale/locale.members/combine.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <locale>
 // <locale>
 
 
 // template <class Facet> locale combine(const locale& other) const;
 // template <class Facet> locale combine(const locale& other) const;

+ 1 - 0
test/std/numerics/complex.number/complex.ops/complex_divide_complex.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <complex>
 // <complex>
 
 
 // template<class T>
 // template<class T>

+ 1 - 0
test/std/numerics/rand/rand.device/ctor.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <random>
 // <random>
 
 
 // class random_device;
 // class random_device;

+ 1 - 0
test/std/numerics/rand/rand.device/eval.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <random>
 // <random>
 
 
 // class random_device;
 // class random_device;

+ 1 - 0
test/std/re/re.alg/re.alg.search/grep.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <regex>
 // <regex>
 
 
 // template <class BidirectionalIterator, class Allocator, class charT, class traits>
 // template <class BidirectionalIterator, class Allocator, class charT, class traits>

+ 1 - 0
test/std/re/re.regex/re.regex.assign/assign.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <regex>
 // <regex>
 
 
 // template <class charT, class traits = regex_traits<charT>> class basic_regex;
 // template <class charT, class traits = regex_traits<charT>> class basic_regex;

+ 1 - 0
test/std/re/re.regex/re.regex.construct/bad_escape.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <regex>
 // <regex>
 
 
 // template <class charT, class traits = regex_traits<charT>> class basic_regex;
 // template <class charT, class traits = regex_traits<charT>> class basic_regex;

+ 1 - 0
test/std/re/re.regex/re.regex.construct/bad_repeat.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <regex>
 // <regex>
 
 
 // template <class charT, class traits = regex_traits<charT>> class basic_regex;
 // template <class charT, class traits = regex_traits<charT>> class basic_regex;

+ 1 - 0
test/std/strings/basic.string/string.access/at.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <string>
 // <string>
 
 
 // const_reference at(size_type pos) const;
 // const_reference at(size_type pos) const;

+ 1 - 0
test/std/strings/basic.string/string.capacity/capacity.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <string>
 // <string>
 
 
 // size_type capacity() const;
 // size_type capacity() const;

+ 1 - 0
test/std/strings/basic.string/string.capacity/max_size.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <string>
 // <string>
 
 
 // size_type max_size() const;
 // size_type max_size() const;

+ 1 - 0
test/std/strings/basic.string/string.capacity/over_max_size.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <string>
 // <string>
 
 
 // size_type max_size() const;
 // size_type max_size() const;

+ 1 - 0
test/std/strings/basic.string/string.capacity/reserve.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <string>
 // <string>
 
 
 // void reserve(size_type res_arg=0);
 // void reserve(size_type res_arg=0);

+ 1 - 0
test/std/strings/basic.string/string.capacity/resize_size.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <string>
 // <string>
 
 
 // void resize(size_type n);
 // void resize(size_type n);

+ 1 - 0
test/std/strings/basic.string/string.capacity/resize_size_char.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <string>
 // <string>
 
 
 // void resize(size_type n, charT c);
 // void resize(size_type n, charT c);

+ 1 - 0
test/std/strings/basic.string/string.cons/substr.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <string>
 // <string>
 
 
 // basic_string(const basic_string<charT,traits,Allocator>& str,
 // basic_string(const basic_string<charT,traits,Allocator>& str,

+ 1 - 0
test/std/strings/basic.string/string.modifiers/string_append/string_size_size.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <string>
 // <string>
 
 
 // basic_string<charT,traits,Allocator>&
 // basic_string<charT,traits,Allocator>&

+ 1 - 0
test/std/strings/basic.string/string.modifiers/string_assign/string_size_size.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <string>
 // <string>
 
 
 // basic_string<charT,traits,Allocator>&
 // basic_string<charT,traits,Allocator>&

+ 1 - 0
test/std/strings/basic.string/string.modifiers/string_copy/copy.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <string>
 // <string>
 
 
 // size_type copy(charT* s, size_type n, size_type pos = 0) const;
 // size_type copy(charT* s, size_type n, size_type pos = 0) const;

+ 1 - 0
test/std/strings/basic.string/string.modifiers/string_erase/size_size.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <string>
 // <string>
 
 
 // basic_string<charT,traits,Allocator>&
 // basic_string<charT,traits,Allocator>&

+ 1 - 0
test/std/strings/basic.string/string.modifiers/string_insert/size_pointer.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <string>
 // <string>
 
 
 // basic_string<charT,traits,Allocator>&
 // basic_string<charT,traits,Allocator>&

+ 1 - 0
test/std/strings/basic.string/string.modifiers/string_insert/size_pointer_size.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <string>
 // <string>
 
 
 // basic_string<charT,traits,Allocator>&
 // basic_string<charT,traits,Allocator>&

+ 1 - 0
test/std/strings/basic.string/string.modifiers/string_insert/size_size_char.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <string>
 // <string>
 
 
 // basic_string<charT,traits,Allocator>&
 // basic_string<charT,traits,Allocator>&

+ 1 - 0
test/std/strings/basic.string/string.modifiers/string_insert/size_string.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <string>
 // <string>
 
 
 // basic_string<charT,traits,Allocator>&
 // basic_string<charT,traits,Allocator>&

+ 1 - 0
test/std/strings/basic.string/string.modifiers/string_insert/size_string_size_size.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <string>
 // <string>
 
 
 // basic_string<charT,traits,Allocator>&
 // basic_string<charT,traits,Allocator>&

+ 1 - 0
test/std/strings/basic.string/string.modifiers/string_replace/size_size_pointer.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <string>
 // <string>
 
 
 // basic_string<charT,traits,Allocator>&
 // basic_string<charT,traits,Allocator>&

+ 1 - 0
test/std/strings/basic.string/string.modifiers/string_replace/size_size_pointer_size.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <string>
 // <string>
 
 
 // basic_string<charT,traits,Allocator>&
 // basic_string<charT,traits,Allocator>&

+ 1 - 0
test/std/strings/basic.string/string.modifiers/string_replace/size_size_size_char.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <string>
 // <string>
 
 
 // basic_string<charT,traits,Allocator>&
 // basic_string<charT,traits,Allocator>&

+ 1 - 0
test/std/strings/basic.string/string.modifiers/string_replace/size_size_string.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <string>
 // <string>
 
 
 // basic_string<charT,traits,Allocator>&
 // basic_string<charT,traits,Allocator>&

+ 1 - 0
test/std/strings/basic.string/string.modifiers/string_replace/size_size_string_size_size.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <string>
 // <string>
 
 
 // basic_string<charT,traits,Allocator>&
 // basic_string<charT,traits,Allocator>&

+ 1 - 0
test/std/strings/basic.string/string.ops/string_compare/size_size_pointer.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <string>
 // <string>
 
 
 // int compare(size_type pos, size_type n1, const charT *s) const;
 // int compare(size_type pos, size_type n1, const charT *s) const;

+ 1 - 0
test/std/strings/basic.string/string.ops/string_compare/size_size_pointer_size.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <string>
 // <string>
 
 
 // int compare(size_type pos, size_type n1, const charT *s, size_type n2) const;
 // int compare(size_type pos, size_type n1, const charT *s, size_type n2) const;

+ 1 - 0
test/std/strings/basic.string/string.ops/string_compare/size_size_string.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <string>
 // <string>
 
 
 // int compare(size_type pos1, size_type n1, const basic_string& str) const;
 // int compare(size_type pos1, size_type n1, const basic_string& str) const;

+ 1 - 0
test/std/strings/basic.string/string.ops/string_compare/size_size_string_size_size.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <string>
 // <string>
 
 
 // int compare(size_type pos1, size_type n1, const basic_string& str,
 // int compare(size_type pos1, size_type n1, const basic_string& str,

+ 1 - 0
test/std/strings/basic.string/string.ops/string_substr/substr.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <string>
 // <string>
 
 
 // basic_string substr(size_type pos = 0, size_type n = npos) const;
 // basic_string substr(size_type pos = 0, size_type n = npos) const;

+ 1 - 0
test/std/strings/string.conversions/stod.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <string>
 // <string>
 
 
 // double stod(const string& str, size_t *idx = 0);
 // double stod(const string& str, size_t *idx = 0);

+ 1 - 0
test/std/strings/string.conversions/stof.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 //
 //
+// XFAIL: libcpp-no-exceptions
 // XFAIL: with_system_cxx_lib=x86_64-apple-darwin11
 // XFAIL: with_system_cxx_lib=x86_64-apple-darwin11
 // XFAIL: with_system_cxx_lib=x86_64-apple-darwin12
 // XFAIL: with_system_cxx_lib=x86_64-apple-darwin12
 
 

+ 1 - 0
test/std/strings/string.conversions/stoi.pass.cpp

@@ -7,6 +7,7 @@
 //
 //
 //===----------------------------------------------------------------------===//
 //===----------------------------------------------------------------------===//
 
 
+// XFAIL: libcpp-no-exceptions
 // <string>
 // <string>
 
 
 // int stoi(const string& str, size_t *idx = 0, int base = 10);
 // int stoi(const string& str, size_t *idx = 0, int base = 10);

この差分においてかなりの量のファイルが変更されているため、一部のファイルを表示していません