Lines Matching refs:CurInit

5327                              ExprResult CurInit,  in CopyObject()  argument
5329 if (CurInit.isInvalid()) in CopyObject()
5330 return CurInit; in CopyObject()
5332 Expr *CurInitExpr = (Expr *)CurInit.get(); in CopyObject()
5337 return CurInit; in CopyObject()
5355 SourceLocation Loc = getInitializationLoc(Entity, CurInit.get()); in CopyObject()
5359 return CurInit; in CopyObject()
5384 return CurInit; in CopyObject()
5403 CurInit.get(); // Ownership transferred into MultiExprArg, below. in CopyObject()
5441 CurInit = S.BuildCXXConstructExpr(Loc, T, Constructor, Elidable, in CopyObject()
5451 if (!CurInit.isInvalid() && shouldBindAsTemporary(Entity)) in CopyObject()
5452 CurInit = S.MaybeBindToTemporary(CurInit.getAs<Expr>()); in CopyObject()
5453 return CurInit; in CopyObject()
5591 ExprResult CurInit((Expr *)nullptr); in PerformConstructorInitialization() local
5626 CurInit = new (S.Context) CXXTemporaryObjectExpr( in PerformConstructorInitialization()
5653 CurInit = S.BuildCXXConstructExpr(Loc, Entity.getType(), in PerformConstructorInitialization()
5663 CurInit = S.BuildCXXConstructExpr(Loc, Entity.getType(), in PerformConstructorInitialization()
5673 if (CurInit.isInvalid()) in PerformConstructorInitialization()
5683 CurInit = S.MaybeBindToTemporary(CurInit.get()); in PerformConstructorInitialization()
5685 return CurInit; in PerformConstructorInitialization()
6158 ExprResult CurInit((Expr *)nullptr); in Perform() local
6194 CurInit = Args[0]; in Perform()
6195 if (!CurInit.get()) return ExprError(); in Perform()
6211 if (CurInit.isInvalid()) in Perform()
6214 QualType SourceType = CurInit.get() ? CurInit.get()->getType() : QualType(); in Perform()
6220 S.CheckAddressOfMemberAccess(CurInit.get(), Step->Function.FoundDecl); in Perform()
6223 CurInit = S.FixOverloadedFunctionReference(CurInit, in Perform()
6239 CurInit.get()->getLocStart(), in Perform()
6240 CurInit.get()->getSourceRange(), in Perform()
6250 CurInit = in Perform()
6252 CurInit.get(), &BasePath, VK); in Perform()
6258 if (CurInit.get()->refersToBitField()) { in Perform()
6260 FieldDecl *BitField = CurInit.get()->getSourceBitField(); in Perform()
6265 << CurInit.get()->getSourceRange(); in Perform()
6272 if (CurInit.get()->refersToVectorElement()) { in Perform()
6276 << CurInit.get()->getSourceRange(); in Perform()
6284 if (S.CheckExceptionSpecCompatibility(CurInit.get(), DestType)) in Perform()
6292 if (performReferenceExtension(CurInit.get(), ExtendingEntity)) in Perform()
6293 warnOnLifetimeExtension(S, Entity, CurInit.get(), in Perform()
6301 assert(CurInit.get()->isRValue() && "not a temporary"); in Perform()
6304 if (S.CheckExceptionSpecCompatibility(CurInit.get(), DestType)) in Perform()
6309 Entity.getType().getNonReferenceType(), CurInit.get(), in Perform()
6317 warnOnLifetimeExtension(S, Entity, CurInit.get(), /*IsInitializerList=*/false, in Perform()
6330 CurInit = MTE; in Perform()
6335 CurInit = CopyObject(S, Step->Type, Entity, CurInit, in Perform()
6351 SourceLocation Loc = CurInit.get()->getLocStart(); in Perform()
6352 CurInit.get(); // Ownership transferred into MultiExprArg, below. in Perform()
6356 Expr *Arg = CurInit.get(); in Perform()
6363 CurInit = S.BuildCXXConstructExpr(Loc, Step->Type, Constructor, in Perform()
6371 if (CurInit.isInvalid()) in Perform()
6389 S.CheckMemberOperatorAccess(Kind.getLocation(), CurInit.get(), nullptr, in Perform()
6398 S.PerformObjectArgumentInitialization(CurInit.get(), in Perform()
6403 CurInit = CurInitExprRes; in Perform()
6406 CurInit = S.BuildCXXMemberCallExpr(CurInit.get(), FoundFn, Conversion, in Perform()
6408 if (CurInit.isInvalid() || !CurInit.get()) in Perform()
6420 QualType T = CurInit.get()->getType(); in Perform()
6424 S.CheckDestructorAccess(CurInit.get()->getLocStart(), Destructor, in Perform()
6426 S.MarkFunctionReferenced(CurInit.get()->getLocStart(), Destructor); in Perform()
6427 if (S.DiagnoseUseOfDecl(Destructor, CurInit.get()->getLocStart())) in Perform()
6432 CurInit = ImplicitCastExpr::Create(S.Context, CurInit.get()->getType(), in Perform()
6433 CastKind, CurInit.get(), nullptr, in Perform()
6434 CurInit.get()->getValueKind()); in Perform()
6436 CurInit = S.MaybeBindToTemporary(CurInit.getAs<Expr>()); in Perform()
6438 CurInit = CopyObject(S, Entity.getType().getNonReferenceType(), Entity, in Perform()
6439 CurInit, /*IsExtraneousCopy=*/false); in Perform()
6453 CurInit = S.ImpCastExprToType(CurInit.get(), Step->Type, CK_NoOp, VK); in Perform()
6458 assert(CurInit.get()->isRValue() && "cannot convert glvalue to atomic"); in Perform()
6459 CurInit = S.ImpCastExprToType(CurInit.get(), Step->Type, in Perform()
6465 assert(CurInit.get()->isGLValue() && "cannot load from a prvalue"); in Perform()
6466 CurInit = ImplicitCastExpr::Create(S.Context, Step->Type, in Perform()
6467 CK_LValueToRValue, CurInit.get(), in Perform()
6480 S.PerformImplicitConversion(CurInit.get(), Step->Type, *Step->ICS, in Perform()
6484 CurInit = CurInitExprRes; in Perform()
6487 S.getLangOpts().CPlusPlus && !CurInit.get()->isValueDependent()) in Perform()
6489 CurInit.get()); in Perform()
6494 InitListExpr *InitList = cast<InitListExpr>(CurInit.get()); in Perform()
6521 CurInit.get(); in Perform()
6522 CurInit = shouldBindAsTemporary(InitEntity) in Perform()
6543 CurInit = PerformConstructorInitialization(S, UseTemporary ? TempEntity : in Perform()
6555 CurInit = cast<InitListExpr>(CurInit.get())->getInit(0); in Perform()
6559 Expr *E = CurInit.get(); in Perform()
6566 CurInit = ILE; in Perform()
6583 CurInit = PerformConstructorInitialization( in Perform()
6610 CurInit = new (S.Context) CXXScalarValueInitExpr( in Perform()
6614 CurInit = new (S.Context) ImplicitValueInitExpr(Step->Type); in Perform()
6620 QualType SourceType = CurInit.get()->getType(); in Perform()
6622 ExprResult InitialCurInit = CurInit; in Perform()
6623 ExprResult Result = CurInit; in Perform()
6629 CurInit = Result; in Perform()
6632 ExprResult CurInitExprRes = CurInit; in Perform()
6640 CurInit = CurInitExprRes; in Perform()
6657 CheckStringInit(CurInit.get(), ResultType ? *ResultType : Ty, in Perform()
6663 CurInit = S.ImpCastExprToType(CurInit.get(), Step->Type, in Perform()
6665 CurInit.get()->getValueKind()); in Perform()
6672 << Step->Type << CurInit.get()->getType() in Perform()
6673 << CurInit.get()->getSourceRange(); in Perform()
6681 = S.Context.getAsConstantArrayType(CurInit.get()->getType())) { in Perform()
6695 << CurInit.get()->getSourceRange(); in Perform()
6700 checkIndirectCopyRestoreSource(S, CurInit.get()); in Perform()
6701 CurInit = new (S.Context) ObjCIndirectCopyRestoreExpr( in Perform()
6702 CurInit.get(), Step->Type, in Perform()
6707 CurInit = in Perform()
6709 CurInit.get(), nullptr, VK_RValue); in Perform()
6713 S.Diag(CurInit.get()->getExprLoc(), in Perform()
6715 << CurInit.get()->getSourceRange(); in Perform()
6719 MaterializeTemporaryExpr(CurInit.get()->getType(), CurInit.get(), in Perform()
6727 warnOnLifetimeExtension(S, Entity, CurInit.get(), in Perform()
6732 CurInit = new (S.Context) CXXStdInitializerListExpr(Step->Type, MTE); in Perform()
6737 CurInit = S.MaybeBindToTemporary(CurInit.get()); in Perform()
6745 QualType SourceType = CurInit.get()->getType(); in Perform()
6761 CurInit = S.ImpCastExprToType(CurInit.get(), Step->Type, in Perform()
6763 CurInit.get()->getValueKind()); in Perform()
6774 CurInit.get()); in Perform()
6777 if (const Expr *E = CurInit.get()) { in Perform()
6782 return CurInit; in Perform()