Lines Matching refs:CurInit

6164                              ExprResult CurInit,  in CopyObject()  argument
6166 if (CurInit.isInvalid()) in CopyObject()
6167 return CurInit; in CopyObject()
6169 Expr *CurInitExpr = (Expr *)CurInit.get(); in CopyObject()
6174 return CurInit; in CopyObject()
6176 SourceLocation Loc = getInitializationLoc(Entity, CurInit.get()); in CopyObject()
6180 return CurInit; in CopyObject()
6208 return CurInit; in CopyObject()
6231 CurInit.get(); // Ownership transferred into MultiExprArg, below. in CopyObject()
6294 CurInit = S.BuildCXXConstructExpr(Loc, T, Best->FoundDecl, Constructor, in CopyObject()
6305 if (!CurInit.isInvalid() && shouldBindAsTemporary(Entity)) in CopyObject()
6306 CurInit = S.MaybeBindToTemporary(CurInit.getAs<Expr>()); in CopyObject()
6307 return CurInit; in CopyObject()
6447 ExprResult CurInit((Expr *)nullptr); in PerformConstructorInitialization() local
6490 CurInit = S.CheckForImmediateInvocation( in PerformConstructorInitialization()
6521 CurInit = S.BuildCXXConstructExpr(Loc, Step.Type, in PerformConstructorInitialization()
6532 CurInit = S.BuildCXXConstructExpr(Loc, Step.Type, in PerformConstructorInitialization()
6543 if (CurInit.isInvalid()) in PerformConstructorInitialization()
6556 CurInit = S.MaybeBindToTemporary(CurInit.get()); in PerformConstructorInitialization()
6558 return CurInit; in PerformConstructorInitialization()
8030 ExprResult CurInit((Expr *)nullptr); in Perform() local
8071 CurInit = Args[0]; in Perform()
8072 if (!CurInit.get()) return ExprError(); in Perform()
8088 CurInit.get() && isa<InitListExpr>(CurInit.get())); in Perform()
8106 if (CurInit.isInvalid()) in Perform()
8109 QualType SourceType = CurInit.get() ? CurInit.get()->getType() : QualType(); in Perform()
8115 S.CheckAddressOfMemberAccess(CurInit.get(), Step->Function.FoundDecl); in Perform()
8118 CurInit = S.FixOverloadedFunctionReference(CurInit, in Perform()
8134 SourceType, Step->Type, CurInit.get()->getBeginLoc(), in Perform()
8135 CurInit.get()->getSourceRange(), &BasePath, IgnoreBaseAccess)) in Perform()
8144 CurInit = ImplicitCastExpr::Create(S.Context, Step->Type, in Perform()
8145 CK_DerivedToBase, CurInit.get(), in Perform()
8154 if (S.CheckExceptionSpecCompatibility(CurInit.get(), DestType)) in Perform()
8160 if (CurInit.get()->getType()->isFunctionProtoType()) { in Perform()
8161 if (auto *DRE = dyn_cast<DeclRefExpr>(CurInit.get()->IgnoreParens())) { in Perform()
8170 CheckForNullPointerDereference(S, CurInit.get()); in Perform()
8175 assert(CurInit.get()->isRValue() && "not a temporary"); in Perform()
8178 if (S.CheckExceptionSpecCompatibility(CurInit.get(), DestType)) in Perform()
8183 Step->Type, CurInit.get(), Entity.getType()->isLValueReferenceType()); in Perform()
8184 CurInit = MTE; in Perform()
8204 CurInit = S.MaybeBindToTemporary(CurInit.get()); in Perform()
8205 CurInit = CopyObject(S, Step->Type, Entity, CurInit, in Perform()
8210 CurInit = CopyObject(S, Step->Type, Entity, CurInit, in Perform()
8225 SourceLocation Loc = CurInit.get()->getBeginLoc(); in Perform()
8229 Expr *Arg = CurInit.get(); in Perform()
8236 CurInit = S.BuildCXXConstructExpr(Loc, Step->Type, in Perform()
8245 if (CurInit.isInvalid()) in Perform()
8258 S.CheckMemberOperatorAccess(Kind.getLocation(), CurInit.get(), nullptr, in Perform()
8263 CurInit = S.BuildCXXMemberCallExpr(CurInit.get(), FoundFn, Conversion, in Perform()
8265 if (CurInit.isInvalid()) in Perform()
8272 if (CreatedObject && checkAbstractType(CurInit.get()->getType())) in Perform()
8275 CurInit = ImplicitCastExpr::Create( in Perform()
8276 S.Context, CurInit.get()->getType(), CastKind, CurInit.get(), nullptr, in Perform()
8277 CurInit.get()->getValueKind(), S.CurFPFeatureOverrides()); in Perform()
8282 CurInit = S.MaybeBindToTemporary(CurInit.getAs<Expr>()); in Perform()
8288 QualType T = CurInit.get()->getType(); in Perform()
8292 S.CheckDestructorAccess(CurInit.get()->getBeginLoc(), Destructor, in Perform()
8294 S.MarkFunctionReferenced(CurInit.get()->getBeginLoc(), Destructor); in Perform()
8295 if (S.DiagnoseUseOfDecl(Destructor, CurInit.get()->getBeginLoc())) in Perform()
8311 CurInit = S.PerformQualificationConversion(CurInit.get(), Step->Type, VK); in Perform()
8316 assert(CurInit.get()->isLValue() && in Perform()
8318 CurInit = in Perform()
8319 S.ImpCastExprToType(CurInit.get(), Step->Type, CK_NoOp, VK_LValue); in Perform()
8323 assert(CurInit.get()->isRValue() && "cannot convert glvalue to atomic"); in Perform()
8324 CurInit = S.ImpCastExprToType(CurInit.get(), Step->Type, in Perform()
8332 CurInit.get()->getType()->getAs<PointerType>()) { in Perform()
8339 S.Diag(CurInit.get()->getExprLoc(), in Perform()
8341 << CurInit.get()->getSourceRange(); in Perform()
8353 S.PerformImplicitConversion(CurInit.get(), Step->Type, *Step->ICS, in Perform()
8358 S.DiscardMisalignedMemberAddress(Step->Type.getTypePtr(), CurInit.get()); in Perform()
8360 CurInit = CurInitExprRes; in Perform()
8365 CurInit.get()); in Perform()
8374 InitListExpr *InitList = cast<InitListExpr>(CurInit.get()); in Perform()
8402 CurInit.get(); in Perform()
8403 CurInit = shouldBindAsTemporary(InitEntity) in Perform()
8427 CurInit = PerformConstructorInitialization(S, UseTemporary ? TempEntity : in Perform()
8439 CurInit = cast<InitListExpr>(CurInit.get())->getInit(0); in Perform()
8443 Expr *E = CurInit.get(); in Perform()
8450 CurInit = ILE; in Perform()
8470 Expr *Source = CurInit.get(); in Perform()
8474 CurInit = PerformConstructorInitialization( in Perform()
8502 CurInit = new (S.Context) CXXScalarValueInitExpr( in Perform()
8506 CurInit = new (S.Context) ImplicitValueInitExpr(Step->Type); in Perform()
8512 QualType SourceType = CurInit.get()->getType(); in Perform()
8515 ExprResult InitialCurInit = CurInit; in Perform()
8516 ExprResult Result = CurInit; in Perform()
8522 CurInit = Result; in Perform()
8525 ExprResult CurInitExprRes = CurInit; in Perform()
8533 CurInit = CurInitExprRes; in Perform()
8551 CheckStringInit(CurInit.get(), UpdateType ? *ResultType : Ty, in Perform()
8557 CurInit = S.ImpCastExprToType(CurInit.get(), Step->Type, in Perform()
8559 CurInit.get()->getValueKind()); in Perform()
8563 Expr *Cur = CurInit.get(); in Perform()
8569 CurInit = S.CreateBuiltinArraySubscriptExpr( in Perform()
8579 CurInit = new (S.Context) ArrayInitLoopExpr(Step->Type, Common, in Perform()
8580 CurInit.get()); in Perform()
8588 << Step->Type << CurInit.get()->getType() in Perform()
8589 << CurInit.get()->getSourceRange(); in Perform()
8590 updateGNUCompoundLiteralRValue(CurInit.get()); in Perform()
8599 = S.Context.getAsConstantArrayType(CurInit.get()->getType())) { in Perform()
8614 << CurInit.get()->getSourceRange(); in Perform()
8619 checkIndirectCopyRestoreSource(S, CurInit.get()); in Perform()
8620 CurInit = new (S.Context) ObjCIndirectCopyRestoreExpr( in Perform()
8621 CurInit.get(), Step->Type, in Perform()
8626 CurInit = ImplicitCastExpr::Create( in Perform()
8627 S.Context, Step->Type, CK_ARCProduceObject, CurInit.get(), nullptr, in Perform()
8632 S.Diag(CurInit.get()->getExprLoc(), in Perform()
8634 << CurInit.get()->getSourceRange(); in Perform()
8638 CurInit.get()->getType(), CurInit.get(), in Perform()
8642 CurInit = new (S.Context) CXXStdInitializerListExpr(Step->Type, MTE); in Perform()
8647 CurInit = S.MaybeBindToTemporary(CurInit.get()); in Perform()
8669 Expr *Init = CurInit.get()->IgnoreParens(); in Perform()
8682 CurInit = ImplicitCastExpr::Create( in Perform()
8740 CurInit = S.ImpCastExprToType(Init, S.Context.OCLSamplerTy, in Perform()
8749 CurInit = S.ImpCastExprToType(CurInit.get(), Step->Type, in Perform()
8751 CurInit.get()->getValueKind()); in Perform()
8759 if (auto *Init = CurInit.get()) in Perform()
8767 CurInit.get()); in Perform()
8770 if (const Expr *E = CurInit.get()) { in Perform()
8775 return CurInit; in Perform()