Home | History | Annotate | Download | only in Sema

Lines Matching refs:atLoc

2394 Sema::ActOnObjCAtCatchStmt(SourceLocation AtLoc,
2401 return Owned(new (Context) ObjCAtCatchStmt(AtLoc, RParen, Var, Body));
2405 Sema::ActOnObjCAtFinallyStmt(SourceLocation AtLoc, Stmt *Body) {
2406 return Owned(new (Context) ObjCAtFinallyStmt(AtLoc, Body));
2410 Sema::ActOnObjCAtTryStmt(SourceLocation AtLoc, Stmt *Try,
2413 Diag(AtLoc, diag::err_objc_exceptions_disabled) << "@try";
2417 return Owned(ObjCAtTryStmt::Create(Context, AtLoc, Try,
2423 StmtResult Sema::BuildObjCAtThrowStmt(SourceLocation AtLoc,
2438 return StmtError(Diag(AtLoc, diag::error_objc_throw_expects_object)
2443 return Owned(new (Context) ObjCAtThrowStmt(AtLoc, Throw));
2447 Sema::ActOnObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw,
2450 Diag(AtLoc, diag::err_objc_exceptions_disabled) << "@throw";
2459 return StmtError(Diag(AtLoc, diag::error_rethrow_used_outside_catch));
2462 return BuildObjCAtThrowStmt(AtLoc, Throw);
2466 Sema::ActOnObjCAtSynchronizedOperand(SourceLocation atLoc, Expr *operand) {
2478 return Diag(atLoc, diag::error_objc_synchronized_expects_object)
2487 Sema::ActOnObjCAtSynchronizedStmt(SourceLocation AtLoc, Expr *SyncExpr,
2491 return Owned(new (Context) ObjCAtSynchronizedStmt(AtLoc, SyncExpr, SyncBody));
2506 Sema::ActOnObjCAutoreleasePoolStmt(SourceLocation AtLoc, Stmt *Body) {
2508 return Owned(new (Context) ObjCAutoreleasePoolStmt(AtLoc, Body));