Searched defs:noexcept (Results 1 - 25 of 102) sorted by relevance

12345

/external/clang/test/CXX/except/except.spec/
H A Dp9-noexcept.cpp5 void target() noexcept
16 void reverse() noexcept(false) function
H A Dp2-places.cpp46 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 Dp4.cpp12 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 Dp5-delayed.cpp6 struct D { struct X { virtual void f() throw(Y); }; struct Y : X { void f() noexcept; }; }; member in struct:D::Y
H A Dp5-virtual.cpp35 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 Dmicrosoft-abi-eh-terminate.cpp5 void never_throws() noexcept(true) { function
H A Dthrow-expression-cleanup.cpp8 Error(const X&) noexcept; member in struct:Error
H A Ddestructor-crash.cpp16 ~C() noexcept; member in struct:C
19 C::~C() noexcept {}
/external/clang/test/SemaCXX/
H A Dlibstdcxx_pair_swap_hack.cpp26 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 Ddependent-noexcept-unevaluated.cpp5 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 Dcatch_function_03.pass.cpp10 // 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 Dcatch_member_function_pointer_02.pass.cpp10 // 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 Dwatchdog_unittest.cc35 TestWatchdog(TestWatchdog&& other) noexcept = default; member in class:perfetto::base::__anon18631::TestWatchdog
/external/perfetto/src/tracing/core/
H A Dchrome_config.cc38 ChromeConfig::ChromeConfig(ChromeConfig&&) noexcept = default; member in namespace:perfetto
H A Dcommit_data_request.cc39 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 Ddata_source_config.cc44 DataSourceConfig::DataSourceConfig(DataSourceConfig&&) noexcept = default; member in namespace:perfetto
H A Ddata_source_descriptor.cc40 DataSourceDescriptor::DataSourceDescriptor(DataSourceDescriptor&&) noexcept = member in namespace:perfetto
H A Dftrace_config.cc38 FtraceConfig::FtraceConfig(FtraceConfig&&) noexcept = default; member in namespace:perfetto
H A Dinode_file_config.cc38 InodeFileConfig::InodeFileConfig(InodeFileConfig&&) noexcept = default; member in namespace:perfetto
124 InodeFileConfig::MountPointMappingEntry&&) noexcept = default; member in namespace:perfetto
H A Dprocess_stats_config.cc39 ProcessStatsConfig::ProcessStatsConfig(ProcessStatsConfig&&) noexcept = default; member in namespace:perfetto
H A Dtest_config.cc38 TestConfig::TestConfig(TestConfig&&) noexcept = default; member in namespace:perfetto
H A Dtrace_config.cc39 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 Dp3.cpp7 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 Dexception-spec-crash.cpp18 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 Dsmall_type.pass.cpp29 SmallThrowsDtor(SmallThrowsDtor const &) noexcept {}
30 SmallThrowsDtor(SmallThrowsDtor &&) noexcept {}
31 ~SmallThrowsDtor() noexcept(false) {} function in class:SmallThrowsDtor

Completed in 1193 milliseconds

12345