Home | History | Annotate | Download | only in Sema

Lines Matching refs:atLoc

3333 Sema::ActOnObjCAtCatchStmt(SourceLocation AtLoc,
3340 return new (Context) ObjCAtCatchStmt(AtLoc, RParen, Var, Body);
3344 Sema::ActOnObjCAtFinallyStmt(SourceLocation AtLoc, Stmt *Body) {
3345 return new (Context) ObjCAtFinallyStmt(AtLoc, Body);
3349 Sema::ActOnObjCAtTryStmt(SourceLocation AtLoc, Stmt *Try,
3352 Diag(AtLoc, diag::err_objc_exceptions_disabled) << "@try";
3356 return ObjCAtTryStmt::Create(Context, AtLoc, Try, CatchStmts.data(),
3360 StmtResult Sema::BuildObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw) {
3377 return StmtError(Diag(AtLoc, diag::error_objc_throw_expects_object)
3382 return new (Context) ObjCAtThrowStmt(AtLoc, Throw);
3386 Sema::ActOnObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw,
3389 Diag(AtLoc, diag::err_objc_exceptions_disabled) << "@throw";
3398 return StmtError(Diag(AtLoc, diag::error_rethrow_used_outside_catch));
3400 return BuildObjCAtThrowStmt(AtLoc, Throw);
3404 Sema::ActOnObjCAtSynchronizedOperand(SourceLocation atLoc, Expr *operand) {
3417 if (RequireCompleteType(atLoc, type,
3419 return Diag(atLoc, diag::error_objc_synchronized_expects_object)
3424 return Diag(atLoc, diag::error_objc_synchronized_expects_object)
3429 return Diag(atLoc, diag::error_objc_synchronized_expects_object)
3440 Sema::ActOnObjCAtSynchronizedStmt(SourceLocation AtLoc, Expr *SyncExpr,
3444 return new (Context) ObjCAtSynchronizedStmt(AtLoc, SyncExpr, SyncBody);
3458 Sema::ActOnObjCAutoreleasePoolStmt(SourceLocation AtLoc, Stmt *Body) {
3460 return new (Context) ObjCAutoreleasePoolStmt(AtLoc, Body);