Home
last modified time | relevance | path

Searched refs:catch (Results 1 – 25 of 672) sorted by relevance

12345678910>>...27

/external/clang/test/SemaObjC/
Dcatch-stmt.m7 } @catch (void a) { // expected-error{{@catch parameter is not a pointer to an interface type}}
8 } @catch (int) { // expected-error{{@catch parameter is not a pointer to an interface type}}
9 } @catch (int *b) { // expected-error{{@catch parameter is not a pointer to an interface type}}
10 } @catch (id <P> c) { // expected-error{{illegal qualifiers on @catch parameter}}
11 } @catch(A* a) { }
Dscope-check.m11 } @catch (A *x) { // expected-note {{jump bypasses initialization of @catch block}}
13 } @catch (B *x) {
14 } @catch (C *c) {
22 } @catch (C *c) { // expected-note {{jump bypasses initialization of @catch block}}
25 } @catch (B *c) { // expected-note {{jump bypasses initialization of @catch block}}
34 } @catch (C *c) {
42 } @catch (A *c) {
43 } @catch (B *c) {
44 } @catch (C *c) { // expected-note {{jump bypasses initialization of @catch block}}
71 } @catch (...) {}
[all …]
Dstmts.m11 } @catch (NSException *x) { // expected-error {{unknown type name 'NSException'}}
12 …} @catch (struct some_struct x) { // expected-error {{@catch parameter is not a pointer to an inte…
13 } @catch (int x) { // expected-error {{@catch parameter is not a pointer to an interface type}}
14 …} @catch (static NSObject *y) { // expected-error {{@catch parameter cannot have storage specifier…
15 } @catch (...) {
/external/llvm/test/Transforms/LoopSimplify/
D2011-12-14-LandingpadHeader.ll9 to label %try.cont19 unwind label %catch
11 ; CHECK: catch.preheader:
13 ; CHECK: br label %catch
15 ; CHECK: catch.split-lp:
17 ; CHECK: br label %catch
19 catch: ; preds = %if.else, %entry
21 catch i8* bitcast ({ i8*, i8*, i8* }* @catchtypeinfo to i8*)
25 if.else: ; preds = %catch
27 to label %try.cont19 unwind label %catch
32 eh.resume: ; preds = %catch
[all …]
/external/clang/test/Parser/
Dobjc-try-catch-1.m19 @catch (Frob* ex) {
22 @catch (Frob1* ex) {
29 @catch (Frob* ex) {
33 @catch (float x) { // expected-error {{@catch parameter is not a pointer to an interface type}}
36 @catch(...) {
42 @try { // expected-error {{@try statement without a @catch and @finally clause}}
50 @try {}// expected-error {{@try statement without a @catch and @finally clause}}
56 @try {}// expected-error {{@try statement without a @catch and @finally clause}}
64 } @catch (...) {}
67 } @catch (...) {}
/external/llvm/test/Transforms/Inline/
Dinvoke-combine-clauses.ll12 ; inlined function caused "catch i8* @exception_outer" to appear
22 catch i8* @exception_inner
38 catch i8* @exception_outer
43 ; CHECK-NEXT: catch i8* @exception_inner
44 ; CHECK-NEXT: catch i8* @exception_outer
45 ; Check that there isn't another "catch" clause:
50 ; inlined function caused "catch i8* @exception_outer" to appear
61 catch i8* @exception_inner
72 catch i8* @exception_outer
77 ; CHECK-NEXT: catch i8* @exception_inner
[all …]
Dinline_invoke.ll58 catch i8* null
73 catch i8* bitcast (i8** @_ZTIi to i8*)
78 br i1 %1, label %catch, label %eh.resume
80 catch:
98 ; CHECK-NEXT: catch i8* bitcast (i8** @_ZTIi to i8*)
105 ; CHECK-NEXT: catch i8* bitcast (i8** @_ZTIi to i8*)
132 catch i8* bitcast (i8** @_ZTIi to i8*)
137 br i1 %1, label %catch, label %eh.resume
139 catch:
168 ; CHECK-NEXT: catch i8* bitcast (i8** @_ZTIi to i8*)
[all …]
Dinvoke-cleanup.ll16 catch i8* @exception_type1
32 catch i8* @exception_type2
38 ; CHECK-NEXT: catch i8* @exception_type1
39 ; CHECK-NEXT: catch i8* @exception_type2
/external/chromium_org/third_party/sqlite/src/test/
Dincrblob3.test58 list [catch {sqlite3_blob_reopen $::blob 3} msg] $msg
64 list [catch {sqlite3_blob_reopen $::blob 1} msg] $msg
80 list [catch {sqlite3_blob_reopen $::blob $rowid} msg] $msg
87 list [catch {sqlite3_blob_reopen $::blob 1} msg] $msg
90 list [catch {sqlite3_blob_read $::blob 0 10} msg] $msg
93 list [catch {sqlite3_blob_write $::blob 0 "abcd"} msg] $msg
110 list [catch {sqlite3_blob_reopen {} 3} msg] $msg
114 list [catch {sqlite3_blob_read {} 0 10} msg] $msg
118 list [catch {sqlite3_blob_write {} 0 "abcd"} msg] $msg
132 list [catch { sqlite3_blob_read $::blob -1 10 } msg] $msg
[all …]
Dtclsqlite.test31 set v [catch {sqlite3 bogus} msg]
36 set v [catch {db bogus} msg]
40 set v [catch {db cache bogus} msg]
44 set v [catch {db cache} msg]
50 set v [catch {
58 set v [catch {
66 set v [catch {
73 catch {expr x*} msg
75 set v [catch {
83 set v [catch {db} msg]
[all …]
Dselect1.test22 set v [catch {execsql {SELECT * FROM test1}} msg]
30 set v [catch {execsql {SELECT * FROM test1, test2}} msg]
34 set v [catch {execsql {SELECT * FROM test2, test1}} msg]
121 set v [catch {execsql {SELECT count(f1,f2) FROM test1}} msg]
125 set v [catch {execsql {SELECT count(f1) FROM test1}} msg]
129 set v [catch {execsql {SELECT Count() FROM test1}} msg]
133 set v [catch {execsql {SELECT COUNT(*) FROM test1}} msg]
137 set v [catch {execsql {SELECT COUNT(*)+1 FROM test1}} msg]
150 set v [catch {execsql {SELECT min(*) FROM test1}} msg]
154 set v [catch {execsql {SELECT Min(f1) FROM test1}} msg]
[all …]
Dbackup2.test78 set rc [catch {db restore bu1.db} res]
109 catch {file attributes bu2.db -permissions r--------}
110 catch {file attributes bu2.db -readonly 1}
111 set rc [catch {db backup temp bu2.db} res]
118 catch {file attributes bu2.db -readonly 0}
119 catch {file attributes bu2.db -permissions rw-------}
123 set rc [catch {db backup temp bu2.db} res]
131 set rc [catch {db backup aux1 bu1.db} res]
138 set rc [catch {db backup} res]
148 set rc [catch {db restore temp bu3.db} res]
[all …]
/external/clang/test/SemaObjCXX/
Ddelay-parsing-func-tryblock.mm28 } catch(...) {
34 } catch(int ei) {
36 } catch(...) {
44 } catch(...) {
50 } catch(int ei) {
52 } catch(...) {
/external/clang/test/CodeGenObjCXX/
Dcatch-id-type.mm27 catch( INTF<P>* error )
31 catch( id error )
34 // CHECK-NEXT: catch i8* bitcast ({ i8*, i8*, i32, i8* }* @_ZTIPU11objcproto1P4INTF to i8*)
35 // CHECK-NEXT: catch i8* bitcast ({ i8*, i8*, i32, i8* }* @_ZTIP11objc_object to i8*)
36 // CHECK-NEXT: catch i8* bitcast ({ i8*, i8*, i32, i8* }* @_ZTIP10objc_class to i8*)
40 catch (Class cl) {
/external/clang/test/Rewriter/
Drewrite-modern-catch.m15 } @catch (NSException *e) {
18 @catch (Foo *f) {
20 @catch (...) {
23 @catch (Foo *f1) {
26 @catch (id pid) {
Drewrite-modern-throw.m19 @catch (...) { SPLATCH(); @throw; }
29 @catch (Foo* localException) {
34 // no catch clause
59 @catch (Foo* localException) {
63 @catch (...) {
Drewrite-eh.m13 } @catch (NSException *e) {
15 @catch (Foo *f) {
17 @catch (...) {
Drewrite-try-catch.m8 @catch (...) { SPLATCH(); @throw; }
18 @catch (Foo* localException) {
23 // no catch clause
/external/llvm/test/Transforms/InstCombine/
DLandingPadClauses.ll46 catch i32* @T1
47 catch i32* @T2
48 catch i32* @T1
49 catch i32* @T2
59 catch i32* @T1
67 catch i32* @T1
69 catch i32* @T2
86 catch i32* @T1
106 catch i32* @T3
111 ; CHECK-NEXT: catch i32* @T3
[all …]
/external/llvm/test/CodeGen/Mips/
Dmips16ex.ll26 catch i8* bitcast (i8** @_ZTIi to i8*)
31 br label %catch.dispatch
33 catch.dispatch: ; preds = %lpad
37 br i1 %matches, label %catch, label %eh.resume
39 catch: ; preds = %catch.dispatch
49 invoke.cont: ; preds = %catch
56 lpad1: ; preds = %catch
66 eh.resume: ; preds = %lpad1, %catch.dispatch
/external/chromium_org/v8/test/webkit/
Deval-throw-return-expected.txt30 PASS eval("1; try { foo = [2,3,throwFunc(), 4]; } catch (e){}") is 1
31 PASS eval("1; try { 2; throw \"\"; } catch (e){}") is 2
32 PASS eval("1; try { 2; throwFunc(); } catch (e){}") is 2
33 PASS eval("1; try { 2; throwFunc(); } catch (e){3;} finally {}") is 3
34 PASS eval("1; try { 2; throwFunc(); } catch (e){3;} finally {4;}") is 4
39 PASS eval("try{1; if (true) { 2; throw \"\"; } else { 2; }} catch(e){}") is 2
41 PASS eval("try{1; var i = 0; do { ++i; 2; throw \"\"; } while(i!=1);} catch(e){}") is 2
42 PASS eval("1; try{2; throwOnReturn();} catch(e){}") is 2
/external/llvm/test/CodeGen/ARM/
Darm-ttype-target2.ll14 catch i8* bitcast ({ i8*, i8* }* @_ZTI3Foo to i8*)
20 br i1 %matches, label %catch, label %eh.resume
22 catch: ; preds = %lpad
28 return: ; preds = %entry, %catch
29 %retval.0 = phi i32 [ 1, %catch ], [ 0, %entry ]
D2012-04-24-SplitEHCriticalEdge.ll35 catch i8* bitcast ({ i8*, i8* }* @_ZTI13ParseErrorMsg to i8*)
36 br i1 undef, label %catch, label %eh.resume
38 catch: ; preds = %lpad
42 invoke.cont2: ; preds = %catch
49 lpad1: ; preds = %catch
60 catch i8* null
/external/clang/test/PCH/
Dobjc_stmts.h16 } @catch(A *a) { in catch() function
17 } @catch(B *b) { in catch() function
18 } @catch(...) { in catch() function
/external/clang/test/CodeGenObjC/
Dnested-rethrow.m10 } @catch (id e) {
14 } @catch (id e) {
20 } @catch (...) {

12345678910>>...27