Home | History | Annotate | Download | only in Sema

Lines Matching defs:Ex

579 Sema::ActOnCXXThrow(Scope *S, SourceLocation OpLoc, Expr *Ex) {
581 if (Ex) {
593 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(Ex->IgnoreParens()))
612 return BuildCXXThrow(OpLoc, Ex, IsThrownVarInScope);
615 ExprResult Sema::BuildCXXThrow(SourceLocation OpLoc, Expr *Ex,
625 if (Ex && !Ex->isTypeDependent()) {
626 ExprResult ExRes = CheckCXXThrowOperand(OpLoc, Ex, IsThrownVarInScope);
629 Ex = ExRes.get();
633 CXXThrowExpr(Ex, Context.VoidTy, OpLoc, IsThrownVarInScope);
2253 ExprResult Ex = ExE;
2258 if (!Ex.get()->isTypeDependent()) {
2260 Ex = DefaultLvalueConversion(Ex.get());
2261 if (Ex.isInvalid())
2264 QualType Type = Ex.get()->getType();
2319 Ex = PerformContextualImplicitConversion(StartLoc, Ex.get(), Converter);
2320 if (Ex.isInvalid())
2322 Type = Ex.get()->getType();
2332 return Diag(Ex.get()->getLocStart(),
2342 << Type << Ex.get()->getSourceRange();
2345 << Type << Ex.get()->getSourceRange());
2348 diag::warn_delete_incomplete, Ex.get())) {
2362 << Type << Ex.get()->getSourceRange()
2438 CheckDestructorAccess(Ex.get()->getExprLoc(), Dtor,
2446 UsualArrayDeleteWantsSize, OperatorDelete, Ex.get(), StartLoc);