Home | History | Annotate | Download | only in Sema

Lines Matching refs:Throw

3311 /// copy elision in either a return statement or a throw expression.
3315 /// determining the copy elision candidate for a throw expression, this will
3324 /// determine whether we should try to move as part of a return or throw (which
3406 /// which is the operand to a return or throw statement.
4218 StmtResult Sema::BuildObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw) {
4219 if (Throw) {
4220 ExprResult Result = DefaultLvalueConversion(Throw);
4227 Throw = Result.get();
4229 QualType ThrowType = Throw->getType();
4236 << Throw->getType() << Throw->getSourceRange());
4240 return new (Context) ObjCAtThrowStmt(AtLoc, Throw);
4244 Sema::ActOnObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw,
4247 Diag(AtLoc, diag::err_objc_exceptions_disabled) << "@throw";
4249 if (!Throw) {
4250 // @throw without an expression designates a rethrow (which must occur
4258 return BuildObjCAtThrowStmt(AtLoc, Throw);