Searched refs:catches (Results 1 - 25 of 46) sorted by relevance

12

/netbsd-current/external/gpl3/gcc/dist/gcc/d/dmd/
H A Dstatement_rewrite_walker.d164 if (s.catches && s.catches.dim)
166 for (size_t i = 0; i < s.catches.dim; i++)
168 Catch c = (*s.catches)[i];
H A Dsapply.d154 for (size_t i = 0; i < s.catches.dim; i++)
155 if (doCond((*s.catches)[i].handler))
H A Dforeachvar.d240 foreach (ca; *s.catches)
H A Dstatement.d1561 Catches* catches;
1565 extern (D) this(const ref Loc loc, Statement _body, Catches* catches)
1569 this.catches = catches;
1574 auto a = new Catches(catches.dim);
1575 foreach (i, c; *catches)
H A Dfunc.d178 auto catches = new Catches();
182 catches.push(ctch);
184 Statement s2 = new TryCatchStatement(Loc.initial, s._body, catches);
2293 auto catches = new Catches();
2294 catches.push(c);
2295 sf = new TryCatchStatement(loc, s2, catches);
2360 auto catches = new Catches();
2361 catches.push(c);
2362 sf = new TryCatchStatement(loc, sf, catches);
H A Dstatementsem.d345 auto catches = new Catches();
348 catches.push(ctch);
350 Statement st = new TryCatchStatement(Loc.initial, _body, catches);
3584 /* Even if body is empty, still do semantic analysis on catches
3587 foreach (i, c; *tcs.catches)
3598 // Determine if current catch 'hides' any previous catches
3601 Catch cj = (*tcs.catches)[j];
3636 /* If the try body never throws, we can eliminate any catches
3641 foreach_reverse (i; 0 .. tcs.catches.dim)
3643 Catch c = (*tcs.catches)[
[all...]
H A Dstatement.h580 Catches *catches; member in class:TryCatchStatement
H A Dblockexit.d396 foreach (c; *s.catches)
H A Dsemantic3.d1457 auto catches = new Catches();
1459 catches.push(ctch);
1461 ctor.fbody = new TryCatchStatement(ctor.loc, ctor.fbody, catches);
1467 * Hopefully we can use this version someday when scope(failure) catches
H A Dparse.d6362 AST.Catches* catches = null;
6395 if (!catches)
6396 catches = new AST.Catches();
6397 catches.push(c);
6407 if (!catches && !finalbody)
6411 if (catches)
6412 s = new AST.TryCatchStatement(loc, _body, catches);
H A Dtransitivevisitor.d277 foreach (c; *s.catches)
/netbsd-current/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Dsapply.c127 for (size_t i = 0; i < s->catches->dim; i++)
128 if (doCond((*s->catches)[i]->handler))
H A Dblockexit.c359 for (size_t i = 0; i < s->catches->dim; i++)
361 Catch *c = (*s->catches)[i];
H A Dstatement.c1343 TryCatchStatement::TryCatchStatement(Loc loc, Statement *body, Catches *catches) argument
1347 this->catches = catches;
1353 a->setDim(catches->dim);
1356 Catch *c = (*catches)[i];
H A Dstatement.h584 Catches *catches; member in class:TryCatchStatement
586 TryCatchStatement(Loc loc, Statement *body, Catches *catches);
H A Dfunc.c180 if (s->catches && s->catches->dim)
182 for (size_t i = 0; i < s->catches->dim; i++)
184 Catch *c = (*s->catches)[i];
281 Catches *catches = new Catches(); local
285 catches->push(ctch);
287 Statement *s2 = new TryCatchStatement(Loc(), s->_body, catches);
2693 Catches *catches = new Catches(); local
2694 catches->push(c);
2695 sf = new TryCatchStatement(loc, s2, catches);
[all...]
H A Dstatementsem.c192 Catches *catches = new Catches(); local
195 catches->push(ctch);
197 s = new TryCatchStatement(Loc(), body, catches);
3429 /* Even if body is empty, still do semantic analysis on catches
3432 for (size_t i = 0; i < tcs->catches->dim; i++)
3434 Catch *c = (*tcs->catches)[i];
3444 // Determine if current catch 'hides' any previous catches
3447 Catch *cj = (*tcs->catches)[j];
3477 /* If the try body never throws, we can eliminate any catches
3483 for (size_t i = 0; i < tcs->catches
[all...]
H A Dparse.c5683 Catches *catches = NULL; local
5714 if (!catches)
5715 catches = new Catches();
5716 catches->push(c);
5726 if (!catches && !finalbody)
5729 { if (catches)
5730 s = new TryCatchStatement(loc, body, catches);
H A Ddinterpret.c549 for (size_t i = 0; i < s->catches->dim; i++)
551 Catch *ca = (*s->catches)[i];
1597 for (size_t i = 0; i < s->catches->dim; i++)
1601 Catch *ca = (*s->catches)[i];
1617 for (size_t i = 0; i < s->catches->dim; i++)
1619 Catch *ca = (*s->catches)[i];
H A Dhdrgen.c587 for (size_t i = 0; i < s->catches->dim; i++)
589 Catch *c = (*s->catches)[i];
/netbsd-current/external/gpl3/gcc.old/dist/gcc/d/
H A Dtoir.cc1198 if (s->catches)
1200 for (size_t i = 0; i < s->catches->dim; i++)
1202 Catch *vcatch = (*s->catches)[i];
1257 tree catches = pop_stmt_list (); local
1259 /* Back-end expects all catches in a TRY_CATCH_EXPR to be enclosed in a
1262 if (TREE_CODE (catches) != STATEMENT_LIST)
1265 append_to_statement_list_force (catches, &stmt_list);
1266 catches = stmt_list;
1269 add_stmt (build2 (TRY_CATCH_EXPR, void_type_node, trybody, catches));
/netbsd-current/external/gpl3/gcc/dist/gcc/d/
H A Dtoir.cc1211 if (s->catches)
1213 for (size_t i = 0; i < s->catches->length; i++)
1215 Catch *vcatch = (*s->catches)[i];
1270 tree catches = pop_stmt_list (); local
1272 /* Back-end expects all catches in a TRY_CATCH_EXPR to be enclosed in a
1275 if (TREE_CODE (catches) != STATEMENT_LIST)
1278 append_to_statement_list_force (catches, &stmt_list);
1279 catches = stmt_list;
1282 add_stmt (build2 (TRY_CATCH_EXPR, void_type_node, trybody, catches));
/netbsd-current/external/gpl3/gcc/dist/gcc/cp/
H A Dexcept.cc458 int catches = 0;
465 && ++catches == 2)
457 int catches = 0; local
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Support/Unix/
H A DPath.inc438 // Note: this check catches strange situations. In all cases, LLVM should
/netbsd-current/external/gpl3/gcc.old/dist/libphobos/src/std/
H A Dexception.d804 Value that collectExceptionMsg returns when it catches an exception

Completed in 514 milliseconds

12