/external/clang/test/CXX/except/except.spec/ |
p9-noexcept.cpp | 5 void target() noexcept 16 void reverse() noexcept(false) function
|
p2-places.cpp | 46 void f() noexcept(false); 48 void (*fp)() noexcept(false); 50 void g(void pfa() noexcept(false)); 52 typedef int (*pf)() noexcept(false); // expected-error {{specifications are not allowed in typedefs}} typedef in namespace:noex 54 void (*h())() noexcept(false); 56 void (*i() noexcept(false))(void (*)() noexcept(true)) noexcept(false); 58 void (**k)(void pfa() noexcept(false)); // no-error 60 void (**j)() noexcept(false); // expected-error {{not allowed beyond a single} [all...] |
p4.cpp | 12 void S::a() noexcept {} // expected-error {{does not match previous}} 13 S::~S() noexcept {} // expected-warning {{function previously declared with an implicit exception specification redeclared with an explicit exception specification}} 14 void S::operator delete(void*) noexcept {} // expected-warning {{function previously declared with an implicit exception specification redeclared with an explicit exception specification}} 17 void a() noexcept; // expected-note {{here}} member in struct:T 18 ~T() noexcept; // expected-note {{here}} member in struct:T 19 void operator delete(void*) noexcept; // expected-note {{here}} member in struct:T 22 void T::a() {} // expected-error {{missing exception specification 'noexcept'}} 35 template<typename T> U<T>::~U() noexcept(true) {} // expected-error {{exception specification in declaration does not match previous declaration}} function 36 template<typename T> void U<T>::operator delete(void*) noexcept(false) {} // expected-error {{exception specification in declaration does not match previous declaration}} function
|
p5-delayed.cpp | 6 struct D { struct X { virtual void f() throw(Y); }; struct Y : X { void f() noexcept; }; }; member in struct:D::Y
|
p5-virtual.cpp | 35 virtual void f7() noexcept; member in struct:Base 36 virtual void f8() noexcept; member in struct:Base 37 virtual void f9() noexcept(false); 38 virtual void f10() noexcept(false); 41 virtual void f12() noexcept; member in struct:Base 42 virtual void f13() noexcept(false); 54 virtual void g6() noexcept; // expected-note {{overridden virtual function is here}} member in struct:Base 55 virtual void g7() noexcept; // expected-note {{overridden virtual function is here}} member in struct:Base 57 virtual void g8() noexcept; // expected-note {{overridden virtual function is here}} member in struct:Base 71 virtual void f7() noexcept; member in struct:Derived 76 virtual void f11() noexcept; member in struct:Derived 81 virtual void f15() noexcept; member in struct:Derived [all...] |
canonical.cpp | 9 template <class _Tp> _Tp&& declval() noexcept; member in namespace:std 14 static const bool value = noexcept(_Tp(declval<_Args>()...)); 25 noexcept(_is_nothrow_constructible<allocator_type>::value); 33 noexcept(_is_nothrow_constructible<_Compare>::value); 48 basic_string<T, _Traits, _Allocator>::basic_string() noexcept(_is_nothrow_constructible<allocator_type>::value) {} function in namespace:std 52 noexcept(_is_nothrow_constructible<_Compare>::value) {} function in namespace:std
|
/external/clang/test/CodeGenCXX/ |
microsoft-abi-eh-terminate.cpp | 5 void never_throws() noexcept(true) { function
|
throw-expression-cleanup.cpp | 8 Error(const X&) noexcept; member in struct:Error
|
destructor-crash.cpp | 16 ~C() noexcept; member in struct:C 19 C::~C() noexcept {}
|
/external/clang/test/SemaCXX/ |
libstdcxx_pair_swap_hack.cpp | 26 template<typename T> void do_swap(T &a, T &b) noexcept(noexcept(swap(a, b))) { function in namespace:std 32 void swap(CLASS &other) noexcept(noexcept(do_swap(member, other.member))); 36 void swap(CLASS &other) noexcept(noexcept(swap(member, other.member))); 42 // void swap(vector &other) noexcept(noexcept(do_swap(member, other.member))); 55 void swap(X &, X &) noexcept; 59 static_assert(noexcept(px.swap(px)), "") [all...] |
dependent-noexcept-unevaluated.cpp | 5 declval() noexcept; 14 void swap(T& x, T& y) noexcept(some_trait<T>::value) function 26 void swap(array& a) noexcept(noexcept(::swap(declval<T&>(), declval<T&>())));
|
/external/libcxx/test/libcxx/experimental/any/ |
small_type.pass.cpp | 23 SmallThrowsDtor(SmallThrowsDtor const &) noexcept {} 24 SmallThrowsDtor(SmallThrowsDtor &&) noexcept {} 25 ~SmallThrowsDtor() noexcept(false) {} function in class:SmallThrowsDtor
|
/external/libcxx/test/std/experimental/optional/optional.object/ |
optional_not_noexcept_destructible.fail.cpp | 22 ~X() noexcept(false) {} function in struct:X
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/optional/optional.object/ |
optional_not_noexcept_destructible.fail.cpp | 22 ~X() noexcept(false) {} function in struct:X
|
/external/libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/ |
ctor.pass.cpp | 28 UserType() noexcept {} 29 constexpr explicit UserType(int d) noexcept : i(d) {} member in struct:UserType
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/bits/ |
move.h | 76 forward(typename std::remove_reference<_Tp>::type& __t) noexcept 87 forward(typename std::remove_reference<_Tp>::type&& __t) noexcept 101 move(_Tp&& __t) noexcept 121 move_if_noexcept(_Tp& __x) noexcept 135 addressof(_Tp& __r) noexcept 168 noexcept(__and_<is_nothrow_move_constructible<_Tp>, function 187 noexcept(noexcept(swap(*__a, *__b))) function
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/bits/ |
move.h | 76 forward(typename std::remove_reference<_Tp>::type& __t) noexcept 87 forward(typename std::remove_reference<_Tp>::type&& __t) noexcept 101 move(_Tp&& __t) noexcept 121 move_if_noexcept(_Tp& __x) noexcept 135 addressof(_Tp& __r) noexcept 168 noexcept(__and_<is_nothrow_move_constructible<_Tp>, function 187 noexcept(noexcept(swap(*__a, *__b))) function
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/bits/ |
move.h | 76 forward(typename std::remove_reference<_Tp>::type& __t) noexcept 87 forward(typename std::remove_reference<_Tp>::type&& __t) noexcept 101 move(_Tp&& __t) noexcept 121 move_if_noexcept(_Tp& __x) noexcept 135 addressof(_Tp& __r) noexcept 168 noexcept(__and_<is_nothrow_move_constructible<_Tp>, function 187 noexcept(noexcept(swap(*__a, *__b))) function
|
/prebuilts/ndk/current/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/ |
enable_special_members.h | 89 { constexpr _Enable_default_constructor() noexcept = delete; }; member in struct:_Enable_default_constructor 93 { ~_Enable_destructor() noexcept = delete; }; member in struct:_Enable_destructor 98 constexpr _Enable_copy_move() noexcept = default; member in struct:_Enable_copy_move 99 constexpr _Enable_copy_move(_Enable_copy_move const&) noexcept = delete; member in struct:_Enable_copy_move 100 constexpr _Enable_copy_move(_Enable_copy_move&&) noexcept = default; member in struct:_Enable_copy_move 102 operator=(_Enable_copy_move const&) noexcept = default; member in struct:_Enable_copy_move 104 operator=(_Enable_copy_move&&) noexcept = default; member in struct:_Enable_copy_move 110 constexpr _Enable_copy_move() noexcept = default; member in struct:_Enable_copy_move 111 constexpr _Enable_copy_move(_Enable_copy_move const&) noexcept = default; member in struct:_Enable_copy_move 112 constexpr _Enable_copy_move(_Enable_copy_move&&) noexcept = default member in struct:_Enable_copy_move 114 operator=(_Enable_copy_move const&) noexcept = delete; member in struct:_Enable_copy_move 116 operator=(_Enable_copy_move&&) noexcept = default; member in struct:_Enable_copy_move 122 constexpr _Enable_copy_move() noexcept = default; member in struct:_Enable_copy_move 123 constexpr _Enable_copy_move(_Enable_copy_move const&) noexcept = delete; member in struct:_Enable_copy_move 124 constexpr _Enable_copy_move(_Enable_copy_move&&) noexcept = default; member in struct:_Enable_copy_move 126 operator=(_Enable_copy_move const&) noexcept = delete; member in struct:_Enable_copy_move 128 operator=(_Enable_copy_move&&) noexcept = default; member in struct:_Enable_copy_move 134 constexpr _Enable_copy_move() noexcept = default; member in struct:_Enable_copy_move 135 constexpr _Enable_copy_move(_Enable_copy_move const&) noexcept = default; member in struct:_Enable_copy_move 136 constexpr _Enable_copy_move(_Enable_copy_move&&) noexcept = delete; member in struct:_Enable_copy_move 138 operator=(_Enable_copy_move const&) noexcept = default; member in struct:_Enable_copy_move 140 operator=(_Enable_copy_move&&) noexcept = default; member in struct:_Enable_copy_move 146 constexpr _Enable_copy_move() noexcept = default; member in struct:_Enable_copy_move 147 constexpr _Enable_copy_move(_Enable_copy_move const&) noexcept = delete; member in struct:_Enable_copy_move 148 constexpr _Enable_copy_move(_Enable_copy_move&&) noexcept = delete; member in struct:_Enable_copy_move 150 operator=(_Enable_copy_move const&) noexcept = default; member in struct:_Enable_copy_move 152 operator=(_Enable_copy_move&&) noexcept = default; member in struct:_Enable_copy_move 158 constexpr _Enable_copy_move() noexcept = default; member in struct:_Enable_copy_move 159 constexpr _Enable_copy_move(_Enable_copy_move const&) noexcept = default; member in struct:_Enable_copy_move 160 constexpr _Enable_copy_move(_Enable_copy_move&&) noexcept = delete; member in struct:_Enable_copy_move 162 operator=(_Enable_copy_move const&) noexcept = delete; member in struct:_Enable_copy_move 164 operator=(_Enable_copy_move&&) noexcept = default; member in struct:_Enable_copy_move 170 constexpr _Enable_copy_move() noexcept = default; member in struct:_Enable_copy_move 171 constexpr _Enable_copy_move(_Enable_copy_move const&) noexcept = delete; member in struct:_Enable_copy_move 172 constexpr _Enable_copy_move(_Enable_copy_move&&) noexcept = delete; member in struct:_Enable_copy_move 174 operator=(_Enable_copy_move const&) noexcept = delete; member in struct:_Enable_copy_move 176 operator=(_Enable_copy_move&&) noexcept = default; member in struct:_Enable_copy_move 182 constexpr _Enable_copy_move() noexcept = default; member in struct:_Enable_copy_move 183 constexpr _Enable_copy_move(_Enable_copy_move const&) noexcept = default; member in struct:_Enable_copy_move 184 constexpr _Enable_copy_move(_Enable_copy_move&&) noexcept = default; member in struct:_Enable_copy_move 186 operator=(_Enable_copy_move const&) noexcept = default; member in struct:_Enable_copy_move 188 operator=(_Enable_copy_move&&) noexcept = delete; member in struct:_Enable_copy_move 194 constexpr _Enable_copy_move() noexcept = default; member in struct:_Enable_copy_move 195 constexpr _Enable_copy_move(_Enable_copy_move const&) noexcept = delete; member in struct:_Enable_copy_move 196 constexpr _Enable_copy_move(_Enable_copy_move&&) noexcept = default; member in struct:_Enable_copy_move 198 operator=(_Enable_copy_move const&) noexcept = default; member in struct:_Enable_copy_move 200 operator=(_Enable_copy_move&&) noexcept = delete; member in struct:_Enable_copy_move 206 constexpr _Enable_copy_move() noexcept = default; member in struct:_Enable_copy_move 207 constexpr _Enable_copy_move(_Enable_copy_move const&) noexcept = default; member in struct:_Enable_copy_move 208 constexpr _Enable_copy_move(_Enable_copy_move&&) noexcept = default; member in struct:_Enable_copy_move 210 operator=(_Enable_copy_move const&) noexcept = delete; member in struct:_Enable_copy_move 212 operator=(_Enable_copy_move&&) noexcept = delete; member in struct:_Enable_copy_move 218 constexpr _Enable_copy_move() noexcept = default; member in struct:_Enable_copy_move 219 constexpr _Enable_copy_move(_Enable_copy_move const&) noexcept = delete; member in struct:_Enable_copy_move 220 constexpr _Enable_copy_move(_Enable_copy_move&&) noexcept = default; member in struct:_Enable_copy_move 222 operator=(_Enable_copy_move const&) noexcept = delete; member in struct:_Enable_copy_move 224 operator=(_Enable_copy_move&&) noexcept = delete; member in struct:_Enable_copy_move 230 constexpr _Enable_copy_move() noexcept = default; member in struct:_Enable_copy_move 231 constexpr _Enable_copy_move(_Enable_copy_move const&) noexcept = default; member in struct:_Enable_copy_move 232 constexpr _Enable_copy_move(_Enable_copy_move&&) noexcept = delete; member in struct:_Enable_copy_move 234 operator=(_Enable_copy_move const&) noexcept = default; member in struct:_Enable_copy_move 236 operator=(_Enable_copy_move&&) noexcept = delete; member in struct:_Enable_copy_move 242 constexpr _Enable_copy_move() noexcept = default; member in struct:_Enable_copy_move 243 constexpr _Enable_copy_move(_Enable_copy_move const&) noexcept = delete; member in struct:_Enable_copy_move 244 constexpr _Enable_copy_move(_Enable_copy_move&&) noexcept = delete; member in struct:_Enable_copy_move 246 operator=(_Enable_copy_move const&) noexcept = default; member in struct:_Enable_copy_move 248 operator=(_Enable_copy_move&&) noexcept = delete; member in struct:_Enable_copy_move 254 constexpr _Enable_copy_move() noexcept = default; member in struct:_Enable_copy_move 255 constexpr _Enable_copy_move(_Enable_copy_move const&) noexcept = default; member in struct:_Enable_copy_move 256 constexpr _Enable_copy_move(_Enable_copy_move&&) noexcept = delete; member in struct:_Enable_copy_move 258 operator=(_Enable_copy_move const&) noexcept = delete; member in struct:_Enable_copy_move 260 operator=(_Enable_copy_move&&) noexcept = delete; member in struct:_Enable_copy_move 266 constexpr _Enable_copy_move() noexcept = default; member in struct:_Enable_copy_move 267 constexpr _Enable_copy_move(_Enable_copy_move const&) noexcept = delete; member in struct:_Enable_copy_move 268 constexpr _Enable_copy_move(_Enable_copy_move&&) noexcept = delete; member in struct:_Enable_copy_move 270 operator=(_Enable_copy_move const&) noexcept = delete; member in struct:_Enable_copy_move 272 operator=(_Enable_copy_move&&) noexcept = delete; member in struct:_Enable_copy_move [all...] |
move.h | 76 forward(typename std::remove_reference<_Tp>::type& __t) noexcept 87 forward(typename std::remove_reference<_Tp>::type&& __t) noexcept 101 move(_Tp&& __t) noexcept 121 move_if_noexcept(_Tp& __x) noexcept 135 addressof(_Tp& __r) noexcept 168 noexcept(__and_<is_nothrow_move_constructible<_Tp>, function 187 noexcept(noexcept(swap(*__a, *__b))) function
|
/external/clang/test/CXX/special/class.dtor/ |
p3.cpp | 7 A::~A() noexcept {} // expected-warning {{previously declared with an implicit exception specification}} 9 struct B { ~B() noexcept; }; // expected-note {{here}} member in struct:DR1492::B 16 template<typename T> C<T>::~C() noexcept {} // expected-error {{does not match previous}}
|
/external/clang/test/SemaTemplate/ |
exception-spec-crash.cpp | 18 noexcept(is_nothrow_move_constructible<allocator_type>::value); 22 Foo(Foo &&) noexcept = default; member in class:Foo 28 Foo &operator=(Foo &&) noexcept = default; member in class:Foo
|
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/ |
default.pass.cpp | 31 NoExceptDefault() noexcept = default; member in struct:NoExceptDefault 82 static_assert(noexcept(std::tuple<NoExceptDefault>()), ""); 83 static_assert(noexcept(std::tuple<NoExceptDefault, NoExceptDefault>()), ""); 85 static_assert(!noexcept(std::tuple<ThrowingDefault, NoExceptDefault>()), ""); 86 static_assert(!noexcept(std::tuple<NoExceptDefault, ThrowingDefault>()), ""); 87 static_assert(!noexcept(std::tuple<ThrowingDefault, ThrowingDefault>()), "");
|
/external/clang/test/Analysis/ |
new-with-exceptions.cpp | 19 struct NoExcept { 20 void *operator new(size_t) noexcept; member in struct:NoExcept 33 clang_analyzer_eval(new NoExcept); // expected-warning{{UNKNOWN}} 41 clang_analyzer_eval(new NoExcept[2]); // expected-warning{{TRUE}} 46 extern void *operator new[](size_t, int) noexcept; 50 clang_analyzer_eval(new (1) NoExcept[2]); // expected-warning{{UNKNOWN}}
|
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/ |
p8.cpp | 11 /*static*/ constexpr void *operator new(size_t) noexcept; member in struct:S 33 constexpr void *S::operator new(size_t) noexcept { return 0; }
|