/external/clang/test/Parser/ |
cxx-throw.cpp | 6 (throw,throw); 7 (1 ? throw 1 : throw 2); 8 throw int(1); 9 throw; 10 throw 1; 11 throw; 12 1 ? throw : (void)42; 13 __extension__ throw 1; // expected-error {{expected expression} [all...] |
/external/clang/test/SemaCXX/ |
ms-exception-spec.cpp | 3 void f() throw(...) { }
|
exception-spec-no-exceptions.cpp | 9 void foo() throw(int); 10 void foo() throw(); 16 virtual void foo() throw(); 20 virtual void foo() throw(int); 28 void foo() throw(int); 29 void bar() throw() {
|
/external/clang/test/CXX/except/except.spec/ |
p11.cpp | 5 throw 0; // no-error 7 void g() throw() { 8 throw 0; // no-error 10 void h() throw(int) { 11 throw 0.0; // no-error
|
p2-dynamic-types.cpp | 9 void ic1() throw(void); // expected-error {{incomplete type 'void' is not allowed in exception specification}} 10 void ic2() throw(Incomplete); // expected-error {{incomplete type 'Incomplete' is not allowed in exception specification}} 11 void ic3() throw(void*); 12 void ic4() throw(Incomplete*); // expected-error {{pointer to incomplete type 'Incomplete' is not allowed in exception specification}} 13 void ic5() throw(Incomplete&); // expected-error {{reference to incomplete type 'Incomplete' is not allowed in exception specification}} 18 void tf() throw(TEx<int>); // expected-error {{implicit instantiation of undefined template}} 22 void f() throw(DR437); 23 void g() throw(DR437*); 24 void h() throw(DR437&); 30 void f() throw(DR437_out) [all...] |
p5-virtual.cpp | 27 virtual void f1() throw(); 28 virtual void f2() throw(int, float); 30 virtual void f3() throw(int, float); 31 virtual void f4() throw(A); 32 virtual void f5() throw(A, int, float); 40 virtual void f11() throw(); 43 virtual void f14() throw(int); 48 virtual void g1() throw(); // expected-note {{overridden virtual function is here}} 49 virtual void g2() throw(int); // expected-note {{overridden virtual function is here}} 50 virtual void g3() throw(A); // expected-note {{overridden virtual function is here} [all...] |
p9-dynamic.cpp | 5 void target() throw(int)
|
p2-places.cpp | 10 void f() throw(int); 13 void (*fp)() throw (int); 16 void g(void pfa() throw(int)); 19 typedef int (*pf)() throw(int); // expected-error {{specifications are not allowed in typedefs}} 24 void (*h())() throw(int); 29 void (*i() throw(int))(void (*)() throw(float)) throw(double); 32 void (**k)(void pfa() throw(int)); // no-error 35 void (**j)() throw(int); // expected-error {{not allowed beyond a single} [all...] |
p3.cpp | 7 extern void (*r1)() throw(int); 8 extern void (*r1)() throw(int); 12 extern void (*r2)() throw(int); 13 extern void (*r2)() throw(INT); 16 extern void (*r3)() throw(int, float); 17 extern void (*r3)() throw(float, int); 19 // MS throw-any spec and no spec at all are compatible 21 extern void (*r4)() throw(...); 23 // throw(X) and no spec are not compatible 24 extern void (*r5)() throw(int); // expected-note {{previous declaration} [all...] |
template.cpp | 5 template <int N> void f1() throw(int); 8 void (*t1)() throw(int) = &f1<0>; 9 void (*t2)() throw() = &f1<0>; // expected-error {{not superset}}
|
p5-pointers.cpp | 26 void s1() throw(); 27 void s2() throw(int); 28 void s3() throw(A); 29 void s4() throw(B1); 30 void s5() throw(D); 32 void s7() throw(int, float); 33 void (*s8())() throw(B1); // s8 returns a pointer to function with spec 34 void s9(void (*)() throw(B1)); // s9 takes pointer to function with spec 43 void (*t1)() throw() = &s1; // valid 46 void (&t2)() throw() = s2; // expected-error {{not superset} [all...] |
p15.cpp | 23 void operator delete(void*, double) throw(int); // expected-note {{previous}}
|
/external/clang/test/CXX/expr/expr.unary/expr.unary.noexcept/ |
ser.h | 7 return noexcept(throw 0);
|
cg.cpp | 6 ~D() throw(); 9 ~E() throw(); 17 b = noexcept(throw 0);
|
/external/clang/test/CodeGenCXX/ |
no-exceptions.cpp | 6 void f() throw (int) {
|
throw-expressions.cpp | 5 return throw val, val; 9 return val ? throw val : val; 14 throw false; 19 return 1 ? throw val : val;
|
/external/clang/test/SemaCXX/Inputs/ |
malloc.h | 2 extern void *malloc (__SIZE_TYPE__ __size) throw () __attribute__ ((__malloc__)) ;
|
/prebuilt/darwin-x86/toolchain/arm-linux-androideabi-4.4.x/arm-linux-androideabi/include/c++/4.4.3/ |
exception_ptr.h | 67 exception_ptr current_exception() throw(); 69 /// Throw the object pointed to by the %exception_ptr. 75 copy_exception(_Ex __ex) throw(); 80 operator==(const exception_ptr&, const exception_ptr&) throw(); 83 operator!=(const exception_ptr&, const exception_ptr&) throw(); 89 explicit exception_ptr(void* __e) throw(); 91 void _M_addref() throw(); 92 void _M_release() throw(); 94 void *_M_get() const throw(); 98 friend exception_ptr std::current_exception() throw(); [all...] |
/prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/arm-linux-androideabi/include/c++/4.4.3/ |
exception_ptr.h | 67 exception_ptr current_exception() throw(); 69 /// Throw the object pointed to by the %exception_ptr. 75 copy_exception(_Ex __ex) throw(); 80 operator==(const exception_ptr&, const exception_ptr&) throw(); 83 operator!=(const exception_ptr&, const exception_ptr&) throw(); 89 explicit exception_ptr(void* __e) throw(); 91 void _M_addref() throw(); 92 void _M_release() throw(); 94 void *_M_get() const throw(); 98 friend exception_ptr std::current_exception() throw(); [all...] |
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/ |
exception_ptr.h | 67 exception_ptr current_exception() throw(); 69 /// Throw the object pointed to by the %exception_ptr. 75 copy_exception(_Ex __ex) throw(); 80 operator==(const exception_ptr&, const exception_ptr&) throw(); 83 operator!=(const exception_ptr&, const exception_ptr&) throw(); 89 explicit exception_ptr(void* __e) throw(); 91 void _M_addref() throw(); 92 void _M_release() throw(); 94 void *_M_get() const throw(); 98 friend exception_ptr std::current_exception() throw(); [all...] |
/prebuilt/ndk/android-ndk-r5/sources/cxx-stl/gnu-libstdc++/include/ |
exception_ptr.h | 67 exception_ptr current_exception() throw(); 69 /// Throw the object pointed to by the %exception_ptr. 75 copy_exception(_Ex __ex) throw(); 80 operator==(const exception_ptr&, const exception_ptr&) throw(); 83 operator!=(const exception_ptr&, const exception_ptr&) throw(); 89 explicit exception_ptr(void* __e) throw(); 91 void _M_addref() throw(); 92 void _M_release() throw(); 94 void *_M_get() const throw(); 98 friend exception_ptr std::current_exception() throw(); [all...] |
/prebuilt/ndk/android-ndk-r6/sources/cxx-stl/gnu-libstdc++/include/ |
exception_ptr.h | 67 exception_ptr current_exception() throw(); 69 /// Throw the object pointed to by the %exception_ptr. 75 copy_exception(_Ex __ex) throw(); 80 operator==(const exception_ptr&, const exception_ptr&) throw(); 83 operator!=(const exception_ptr&, const exception_ptr&) throw(); 89 explicit exception_ptr(void* __e) throw(); 91 void _M_addref() throw(); 92 void _M_release() throw(); 94 void *_M_get() const throw(); 98 friend exception_ptr std::current_exception() throw(); [all...] |
/prebuilt/ndk/android-ndk-r7/sources/cxx-stl/gnu-libstdc++/include/ |
exception_ptr.h | 67 exception_ptr current_exception() throw(); 69 /// Throw the object pointed to by the %exception_ptr. 75 copy_exception(_Ex __ex) throw(); 80 operator==(const exception_ptr&, const exception_ptr&) throw(); 83 operator!=(const exception_ptr&, const exception_ptr&) throw(); 89 explicit exception_ptr(void* __e) throw(); 91 void _M_addref() throw(); 92 void _M_release() throw(); 94 void *_M_get() const throw(); 98 friend exception_ptr std::current_exception() throw(); [all...] |
/abi/cpp/src/ |
delete.cc | 34 operator delete(void* ptr) throw()
|
/external/clang/test/CXX/basic/basic.stc/basic.stc.dynamic/ |
p2.cpp | 22 void* operator new(std::size_t) throw(std::bad_alloc); // expected-note{{previous declaration}} 23 void* operator new[](std::size_t) throw(std::bad_alloc); 24 void operator delete(void*) throw(); // expected-note{{previous declaration}} 25 void operator delete[](void*) throw(); 27 void* operator new(std::size_t); // expected-warning{{'operator new' is missing exception specification 'throw(std::bad_alloc)'}} 28 void operator delete(void*); // expected-warning{{'operator delete' is missing exception specification 'throw()'}}
|