/external/clang/test/CodeGenCXX/ |
exceptions-no-rtti.cpp | 35 throw A(); 38 void test1() throw(B) { 49 throw ptr;
|
/external/clang/test/SemaCXX/ |
exceptions.cpp | 29 throw; 30 throw 0; 31 throw throw; // expected-error {{cannot throw object of incomplete type 'void'}} 32 throw (A*)0; // expected-error {{cannot throw pointer to object of incomplete type 'A'}} 101 // Cannot throw an abstract type. 106 throw *this; // expected-error{{cannot throw an object of abstract type 'foo'} [all...] |
/ndk/tests/device/test-stlport_shared-exception/jni/ |
eh23.cpp | 15 throw double_fault(); 21 throw E(); 24 throw;
|
eh24.cpp | 22 throw 1.0; 25 throw 1; // make sure both a1 and a2 are not destroyed when we throw! 28 throw 1.0;
|
has_nothrow_copy-2.cpp | 5 struct A { template <class T> A (T) throw (int); }; 6 struct B { B (B&) throw (); template <class T> B (T) throw (int); };
|
new1.cpp | 13 void * operator new[] (size_t s) throw (std::bad_alloc) 19 void operator delete[] (void *p) throw () 28 A() { throw 1; }
|
new7.cpp | 14 throw 1; 16 void* operator new ( std::size_t n ) throw ( std::bad_alloc ) 21 void operator delete( void* p, std::size_t n ) throw()
|
spec1.cpp | 9 void my_unexp () { throw 42; } 12 f () throw (char, int, std::bad_exception) 14 throw 'a';
|
spec2.cpp | 3 // Test 2: the second throw succeeds. 9 void my_unexp () { throw 42; } 12 f () throw (int, std::bad_exception) 14 throw 'a';
|
spec3_1.cpp | 3 // Test 3: the bad_exception throw succeeds. 9 void my_unexp () { throw 42; } 12 f () throw (std::bad_exception) 14 throw 'a';
|
has_nothrow_assign.cpp | 20 D& operator=(const D&) throw() { return *this; } 25 E& operator=(const E&) throw(int) { return *this; } 30 E1& operator=(const E1&) throw(int) { throw int(); return *this; } 35 F() throw(int) { } 40 G() throw(int) { throw int(); } 45 H& operator=(H&) throw(int) { return *this; } 50 H1& operator=(H1&) throw(int) { throw int(); return *this; [all...] |
/ndk/tests/device/test-stlport_static-exception/jni/ |
eh23.cpp | 15 throw double_fault(); 21 throw E(); 24 throw;
|
eh24.cpp | 22 throw 1.0; 25 throw 1; // make sure both a1 and a2 are not destroyed when we throw! 28 throw 1.0;
|
has_nothrow_copy-2.cpp | 5 struct A { template <class T> A (T) throw (int); }; 6 struct B { B (B&) throw (); template <class T> B (T) throw (int); };
|
new1.cpp | 13 void * operator new[] (size_t s) throw (std::bad_alloc) 19 void operator delete[] (void *p) throw () 28 A() { throw 1; }
|
new7.cpp | 14 throw 1; 16 void* operator new ( std::size_t n ) throw ( std::bad_alloc ) 21 void operator delete( void* p, std::size_t n ) throw()
|
spec1.cpp | 9 void my_unexp () { throw 42; } 12 f () throw (char, int, std::bad_exception) 14 throw 'a';
|
spec2.cpp | 3 // Test 2: the second throw succeeds. 9 void my_unexp () { throw 42; } 12 f () throw (int, std::bad_exception) 14 throw 'a';
|
spec3_1.cpp | 3 // Test 3: the bad_exception throw succeeds. 9 void my_unexp () { throw 42; } 12 f () throw (std::bad_exception) 14 throw 'a';
|
has_nothrow_assign.cpp | 20 D& operator=(const D&) throw() { return *this; } 25 E& operator=(const E&) throw(int) { return *this; } 30 E1& operator=(const E1&) throw(int) { throw int(); return *this; } 35 F() throw(int) { } 40 G() throw(int) { throw int(); } 45 H& operator=(H&) throw(int) { return *this; } 50 H1& operator=(H1&) throw(int) { throw int(); return *this; [all...] |
/external/clang/test/CXX/except/except.spec/ |
p1.cpp | 11 void f() throw() { } 13 void g(int) throw(X) { } 15 void h() throw(X, Y) { } 18 void foo() throw (X, Y) { } 21 void (*fptr)() throw(); 46 void f() throw(int) noexcept { } // expected-error {{cannot have both}} 47 void g() noexcept throw(int) { } // expected-error {{cannot have both}}
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/backward/ |
auto_ptr.h | 101 auto_ptr(element_type* __p = 0) throw() : _M_ptr(__p) { } 110 auto_ptr(auto_ptr& __a) throw() : _M_ptr(__a.release()) { } 123 auto_ptr(auto_ptr<_Tp1>& __a) throw() : _M_ptr(__a.release()) { } 134 operator=(auto_ptr& __a) throw() 152 operator=(auto_ptr<_Tp1>& __a) throw() 163 * The C++ standard says there is supposed to be an empty throw 179 operator*() const throw() 192 operator->() const throw() 209 get() const throw() { return _M_ptr; } 223 release() throw() [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/backward/ |
auto_ptr.h | 103 auto_ptr(element_type* __p = 0) throw() : _M_ptr(__p) { } 112 auto_ptr(auto_ptr& __a) throw() : _M_ptr(__a.release()) { } 125 auto_ptr(auto_ptr<_Tp1>& __a) throw() : _M_ptr(__a.release()) { } 136 operator=(auto_ptr& __a) throw() 154 operator=(auto_ptr<_Tp1>& __a) throw() 165 * The C++ standard says there is supposed to be an empty throw 181 operator*() const throw() 194 operator->() const throw() 211 get() const throw() { return _M_ptr; } 225 release() throw() [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/backward/ |
auto_ptr.h | 103 auto_ptr(element_type* __p = 0) throw() : _M_ptr(__p) { } 112 auto_ptr(auto_ptr& __a) throw() : _M_ptr(__a.release()) { } 125 auto_ptr(auto_ptr<_Tp1>& __a) throw() : _M_ptr(__a.release()) { } 136 operator=(auto_ptr& __a) throw() 154 operator=(auto_ptr<_Tp1>& __a) throw() 165 * The C++ standard says there is supposed to be an empty throw 181 operator*() const throw() 194 operator->() const throw() 211 get() const throw() { return _M_ptr; } 225 release() throw() [all...] |
/prebuilts/ndk/5/sources/cxx-stl/gnu-libstdc++/include/backward/ |
auto_ptr.h | 101 auto_ptr(element_type* __p = 0) throw() : _M_ptr(__p) { } 110 auto_ptr(auto_ptr& __a) throw() : _M_ptr(__a.release()) { } 123 auto_ptr(auto_ptr<_Tp1>& __a) throw() : _M_ptr(__a.release()) { } 134 operator=(auto_ptr& __a) throw() 152 operator=(auto_ptr<_Tp1>& __a) throw() 163 * The C++ standard says there is supposed to be an empty throw 179 operator*() const throw() 192 operator->() const throw() 209 get() const throw() { return _M_ptr; } 223 release() throw() [all...] |