/external/clang/test/CXX/except/except.spec/ |
H A D | p9-noexcept.cpp | 5 void target() noexcept 16 void reverse() noexcept(false) function
|
H A D | 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(fals [all...] |
H A D | 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
|
H A D | p5-delayed.cpp | 6 struct D { struct X { virtual void f() throw(Y); }; struct Y : X { void f() noexcept; }; }; member in struct:D::Y
|
H A D | 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...] |
/external/clang/test/CodeGenCXX/ |
H A D | microsoft-abi-eh-terminate.cpp | 5 void never_throws() noexcept(true) { function
|
H A D | throw-expression-cleanup.cpp | 8 Error(const X&) noexcept; member in struct:Error
|
H A D | destructor-crash.cpp | 16 ~C() noexcept; member in struct:C 19 C::~C() noexcept {}
|
/external/clang/test/SemaCXX/ |
H A D | 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(p [all...] |
H A D | 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/libcxxabi/test/ |
H A D | catch_function_03.pass.cpp | 10 // Can a noexcept function pointer be caught by a non-noexcept catch clause? 11 // UNSUPPORTED: libcxxabi-no-exceptions, libcxxabi-no-noexcept-function-type 15 template<bool Noexcept> void f() noexcept(Noexcept) {} function 16 template<bool Noexcept> using FnType = void() noexcept(Noexcept);
|
H A D | catch_member_function_pointer_02.pass.cpp | 10 // Can a noexcept member function pointer be caught by a non-noexcept catch 12 // UNSUPPORTED: libcxxabi-no-exceptions, libcxxabi-no-noexcept-function-type 14 // GCC 7 and 8 support noexcept function types but this test still fails. 21 template<bool Noexcept> void f() noexcept(Noexcept) {} function in struct:X 23 template<bool Noexcept> using FnType = void (X::*)() noexcept(Noexcept);
|
/external/perfetto/src/base/ |
H A D | watchdog_unittest.cc | 35 TestWatchdog(TestWatchdog&& other) noexcept = default; member in class:perfetto::base::__anon18631::TestWatchdog
|
/external/perfetto/src/tracing/core/ |
H A D | chrome_config.cc | 38 ChromeConfig::ChromeConfig(ChromeConfig&&) noexcept = default; member in namespace:perfetto
|
H A D | commit_data_request.cc | 39 CommitDataRequest::CommitDataRequest(CommitDataRequest&&) noexcept = default; member in namespace:perfetto 91 CommitDataRequest::ChunksToMove&&) noexcept = default; member in namespace:perfetto 133 CommitDataRequest::ChunkToPatch&&) noexcept = default; member in namespace:perfetto 199 CommitDataRequest::ChunkToPatch::Patch&&) noexcept = default; member in namespace:perfetto
|
H A D | data_source_config.cc | 44 DataSourceConfig::DataSourceConfig(DataSourceConfig&&) noexcept = default; member in namespace:perfetto
|
H A D | data_source_descriptor.cc | 40 DataSourceDescriptor::DataSourceDescriptor(DataSourceDescriptor&&) noexcept = member in namespace:perfetto
|
H A D | ftrace_config.cc | 38 FtraceConfig::FtraceConfig(FtraceConfig&&) noexcept = default; member in namespace:perfetto
|
H A D | inode_file_config.cc | 38 InodeFileConfig::InodeFileConfig(InodeFileConfig&&) noexcept = default; member in namespace:perfetto 124 InodeFileConfig::MountPointMappingEntry&&) noexcept = default; member in namespace:perfetto
|
H A D | process_stats_config.cc | 39 ProcessStatsConfig::ProcessStatsConfig(ProcessStatsConfig&&) noexcept = default; member in namespace:perfetto
|
H A D | test_config.cc | 38 TestConfig::TestConfig(TestConfig&&) noexcept = default; member in namespace:perfetto
|
H A D | trace_config.cc | 39 TraceConfig::TraceConfig(TraceConfig&&) noexcept = default; member in namespace:perfetto 164 TraceConfig::BufferConfig::BufferConfig(TraceConfig::BufferConfig&&) noexcept = member in namespace:perfetto 199 TraceConfig::DataSource::DataSource(TraceConfig::DataSource&&) noexcept = member in namespace:perfetto 242 TraceConfig::ProducerConfig&&) noexcept = default; member in namespace:perfetto 290 TraceConfig::StatsdMetadata&&) noexcept = default; member in namespace:perfetto 350 TraceConfig::GuardrailOverrides&&) noexcept = default; member in namespace:perfetto
|
/external/clang/test/CXX/special/class.dtor/ |
H A D | 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/ |
H A D | 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/libcxx/utilities/any/ |
H A D | small_type.pass.cpp | 29 SmallThrowsDtor(SmallThrowsDtor const &) noexcept {} 30 SmallThrowsDtor(SmallThrowsDtor &&) noexcept {} 31 ~SmallThrowsDtor() noexcept(false) {} function in class:SmallThrowsDtor
|