Lines Matching refs:atLoc
2595 Sema::ActOnObjCAtCatchStmt(SourceLocation AtLoc,
2602 return Owned(new (Context) ObjCAtCatchStmt(AtLoc, RParen, Var, Body));
2606 Sema::ActOnObjCAtFinallyStmt(SourceLocation AtLoc, Stmt *Body) {
2607 return Owned(new (Context) ObjCAtFinallyStmt(AtLoc, Body));
2611 Sema::ActOnObjCAtTryStmt(SourceLocation AtLoc, Stmt *Try,
2614 Diag(AtLoc, diag::err_objc_exceptions_disabled) << "@try";
2618 return Owned(ObjCAtTryStmt::Create(Context, AtLoc, Try,
2624 StmtResult Sema::BuildObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw) {
2641 return StmtError(Diag(AtLoc, diag::error_objc_throw_expects_object)
2646 return Owned(new (Context) ObjCAtThrowStmt(AtLoc, Throw));
2650 Sema::ActOnObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw,
2653 Diag(AtLoc, diag::err_objc_exceptions_disabled) << "@throw";
2662 return StmtError(Diag(AtLoc, diag::error_rethrow_used_outside_catch));
2664 return BuildObjCAtThrowStmt(AtLoc, Throw);
2668 Sema::ActOnObjCAtSynchronizedOperand(SourceLocation atLoc, Expr *operand) {
2680 return Diag(atLoc, diag::error_objc_synchronized_expects_object)
2689 Sema::ActOnObjCAtSynchronizedStmt(SourceLocation AtLoc, Expr *SyncExpr,
2693 return Owned(new (Context) ObjCAtSynchronizedStmt(AtLoc, SyncExpr, SyncBody));
2708 Sema::ActOnObjCAutoreleasePoolStmt(SourceLocation AtLoc, Stmt *Body) {
2710 return Owned(new (Context) ObjCAutoreleasePoolStmt(AtLoc, Body));