Home | History | Annotate | Download | only in Sema

Lines Matching defs:Ex

497 Sema::ActOnCXXThrow(Scope *S, SourceLocation OpLoc, Expr *Ex) {
499 if (Ex) {
511 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(Ex->IgnoreParens()))
530 return BuildCXXThrow(OpLoc, Ex, IsThrownVarInScope);
533 ExprResult Sema::BuildCXXThrow(SourceLocation OpLoc, Expr *Ex,
540 if (Ex && !Ex->isTypeDependent()) {
541 ExprResult ExRes = CheckCXXThrowOperand(OpLoc, Ex, IsThrownVarInScope);
544 Ex = ExRes.take();
547 return Owned(new (Context) CXXThrowExpr(Ex, Context.VoidTy, OpLoc,
2025 ExprResult Ex = Owned(ExE);
2030 if (!Ex.get()->isTypeDependent()) {
2032 Ex = DefaultLvalueConversion(Ex.take());
2033 if (Ex.isInvalid())
2036 QualType Type = Ex.get()->getType();
2071 PerformImplicitConversion(Ex.get(),
2075 Ex = Res;
2076 Type = Ex.get()->getType();
2081 << Type << Ex.get()->getSourceRange();
2090 << Type << Ex.get()->getSourceRange());
2096 return Diag(Ex.get()->getLocStart(),
2106 << Type << Ex.get()->getSourceRange();
2109 << Type << Ex.get()->getSourceRange());
2112 diag::warn_delete_incomplete, Ex.get())) {
2126 << Type << Ex.get()->getSourceRange()
2192 Expr *Arg = Ex.get();
2207 CheckDestructorAccess(Ex.get()->getExprLoc(), Dtor,
2217 OperatorDelete, Ex.take(), StartLoc));