/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...] |
/toolchain/binutils/binutils-2.25/gold/testsuite/ |
exception_test_2.cc | 30 throw 0;
|
/external/clang/test/CXX/except/except.spec/ |
p11.cpp | 6 throw 0; // no-error 8 void g() throw() { 9 throw 0; // no-error 11 void h() throw(int) { 12 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...] |
p5-delayed.cpp | 3 struct A { struct X { virtual ~X() throw(Y); }; struct Y : X {}; }; 4 struct B { struct X { virtual void f() throw(Y); }; struct Y : X { void f() throw(Y); }; }; 5 struct C { struct X { virtual void f() throw(Y); }; struct Y : X { void f() throw(); }; }; 6 struct D { struct X { virtual void f() throw(Y); }; struct Y : X { void f() noexcept; }; }; 7 struct E { struct Y; struct X { virtual Y &operator=(const Y&) throw(Y); }; struct Y : X {}; }; 10 virtual void f() throw(Y); // expected-note {{here}} 13 void f() throw(int); // expected-error {{more lax}}
|
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}}
|
/external/clang/test/PCH/ |
cxx-functions.h | 1 void foo() throw( int, short, char, float, double );
|
/external/clang/test/SemaCXX/ |
exception-spec-no-exceptions.cpp | 10 void foo() throw(int); 11 void foo() throw(); 17 virtual void foo() throw(); 21 virtual void foo() throw(int); 29 void foo() throw(int); 30 void bar() throw() {
|
ms-exception-spec.cpp | 3 void f() throw(...) { } 7 void fn() throw(S); // expected-warning {{incomplete type}} expected-note{{previous declaration}} 8 void fn() throw(); // expected-warning {{does not match previous declaration}}
|
PR12778.cpp | 3 void operator delete() throw(void*); // expected-error{{'operator delete' must have at least one parameter}}
|
/external/clang/test/CodeGenCXX/ |
pr18661.cpp | 7 void f() throw() {
|
no-exceptions.cpp | 6 void f() throw (int) {
|
windows-itanium-exceptions.cpp | 6 throw 32;
|
throw-expressions.cpp | 5 return throw val, val; 9 return val ? throw val : val; 14 throw false; 19 return 1 ? throw val : val; 24 return (x ? throw 1 : y) ? z : throw 2; 48 return (x ? throw 1 : y) ? z : (throw 2); 78 const A &r = b ? get() : throw 0; 97 cond ? throw test7 : val [all...] |
try-catch.cpp | 9 throw g(); 17 throw "ABC";
|
exception-spec-decay.cpp | 4 void foo() throw (Array) { 5 throw 0; 11 void foo() throw (S[10]) { 12 throw 0; 18 void foo() throw (T) { 19 throw 0;
|
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-elf/ |
dl3.cc | 6 throw (A (42));
|
/external/clang/test/CXX/expr/expr.unary/expr.unary.noexcept/ |
ser.h | 7 return noexcept(throw 0);
|
/external/lzma/CPP/Common/ |
IntToString.h | 8 void ConvertUInt32ToString(UInt32 value, char *s) throw();
9 void ConvertUInt64ToString(UInt64 value, char *s) throw();
11 void ConvertUInt32ToString(UInt32 value, wchar_t *s) throw();
12 void ConvertUInt64ToString(UInt64 value, wchar_t *s) throw();
14 void ConvertUInt64ToOct(UInt64 value, char *s) throw();
16 void ConvertUInt32ToHex(UInt32 value, char *s) throw();
17 void ConvertUInt64ToHex(UInt64 value, char *s) throw();
18 void ConvertUInt32ToHex8Digits(UInt32 value, char *s) throw();
19 // void ConvertUInt32ToHex8Digits(UInt32 value, wchar_t *s) throw();
21 void ConvertInt64ToString(Int64 value, char *s) throw();
[all...] |
StringToInt.h | 8 UInt32 ConvertStringToUInt32(const char *s, const char **end) throw();
9 UInt64 ConvertStringToUInt64(const char *s, const char **end) throw();
10 UInt32 ConvertStringToUInt32(const wchar_t *s, const wchar_t **end) throw();
11 UInt64 ConvertStringToUInt64(const wchar_t *s, const wchar_t **end) throw();
13 Int32 ConvertStringToInt32(const wchar_t *s, const wchar_t **end) throw();
15 UInt32 ConvertOctStringToUInt32(const char *s, const char **end) throw();
16 UInt64 ConvertOctStringToUInt64(const char *s, const char **end) throw();
18 UInt32 ConvertHexStringToUInt32(const char *s, const char **end) throw();
19 UInt64 ConvertHexStringToUInt64(const char *s, const char **end) throw();
|
/external/sfntly/cpp/src/sfntly/port/ |
exception_type.h | 33 explicit Exception(const char* message) throw() { SetMessage(message); } 34 virtual ~Exception() throw() {} 35 virtual const char* what() const throw() { return what_.c_str(); } 38 void SetMessage(const char* message) throw() { 50 IndexOutOfBoundException() throw() : Exception("Index out of bound") {} 51 explicit IndexOutOfBoundException(const char* message) throw() 53 IndexOutOfBoundException(const char* message, int32_t index) throw() { 62 virtual ~IndexOutOfBoundException() throw() {} 67 IOException() throw() : Exception("I/O exception") {} 68 explicit IOException(const char* message) throw() : Exception(message) { [all...] |