• Home
  • Raw
  • Download

Lines Matching refs:CurInit

5444                              ExprResult CurInit,  in CopyObject()  argument
5446 if (CurInit.isInvalid()) in CopyObject()
5447 return CurInit; in CopyObject()
5449 Expr *CurInitExpr = (Expr *)CurInit.get(); in CopyObject()
5454 return CurInit; in CopyObject()
5472 SourceLocation Loc = getInitializationLoc(Entity, CurInit.get()); in CopyObject()
5476 return CurInit; in CopyObject()
5501 return CurInit; in CopyObject()
5520 CurInit.get(); // Ownership transferred into MultiExprArg, below. in CopyObject()
5558 CurInit = S.BuildCXXConstructExpr(Loc, T, Best->FoundDecl, Constructor, in CopyObject()
5569 if (!CurInit.isInvalid() && shouldBindAsTemporary(Entity)) in CopyObject()
5570 CurInit = S.MaybeBindToTemporary(CurInit.getAs<Expr>()); in CopyObject()
5571 return CurInit; in CopyObject()
5709 ExprResult CurInit((Expr *)nullptr); in PerformConstructorInitialization() local
5751 CurInit = new (S.Context) CXXTemporaryObjectExpr( in PerformConstructorInitialization()
5779 CurInit = S.BuildCXXConstructExpr(Loc, Entity.getType(), in PerformConstructorInitialization()
5790 CurInit = S.BuildCXXConstructExpr(Loc, Entity.getType(), in PerformConstructorInitialization()
5801 if (CurInit.isInvalid()) in PerformConstructorInitialization()
5810 CurInit = S.MaybeBindToTemporary(CurInit.get()); in PerformConstructorInitialization()
5812 return CurInit; in PerformConstructorInitialization()
6320 ExprResult CurInit((Expr *)nullptr); in Perform() local
6356 CurInit = Args[0]; in Perform()
6357 if (!CurInit.get()) return ExprError(); in Perform()
6373 if (CurInit.isInvalid()) in Perform()
6376 QualType SourceType = CurInit.get() ? CurInit.get()->getType() : QualType(); in Perform()
6382 S.CheckAddressOfMemberAccess(CurInit.get(), Step->Function.FoundDecl); in Perform()
6385 CurInit = S.FixOverloadedFunctionReference(CurInit, in Perform()
6401 CurInit.get()->getLocStart(), in Perform()
6402 CurInit.get()->getSourceRange(), in Perform()
6412 CurInit = in Perform()
6414 CurInit.get(), &BasePath, VK); in Perform()
6420 if (CurInit.get()->refersToBitField()) { in Perform()
6422 FieldDecl *BitField = CurInit.get()->getSourceBitField(); in Perform()
6427 << CurInit.get()->getSourceRange(); in Perform()
6434 if (CurInit.get()->refersToVectorElement()) { in Perform()
6438 << CurInit.get()->getSourceRange(); in Perform()
6446 if (S.CheckExceptionSpecCompatibility(CurInit.get(), DestType)) in Perform()
6454 if (performReferenceExtension(CurInit.get(), ExtendingEntity)) in Perform()
6455 warnOnLifetimeExtension(S, Entity, CurInit.get(), in Perform()
6459 CheckForNullPointerDereference(S, CurInit.get()); in Perform()
6464 assert(CurInit.get()->isRValue() && "not a temporary"); in Perform()
6467 if (S.CheckExceptionSpecCompatibility(CurInit.get(), DestType)) in Perform()
6472 Entity.getType().getNonReferenceType(), CurInit.get(), in Perform()
6480 warnOnLifetimeExtension(S, Entity, CurInit.get(), /*IsInitializerList=*/false, in Perform()
6493 CurInit = MTE; in Perform()
6498 CurInit = CopyObject(S, Step->Type, Entity, CurInit, in Perform()
6514 SourceLocation Loc = CurInit.get()->getLocStart(); in Perform()
6515 CurInit.get(); // Ownership transferred into MultiExprArg, below. in Perform()
6519 Expr *Arg = CurInit.get(); in Perform()
6526 CurInit = S.BuildCXXConstructExpr(Loc, Step->Type, in Perform()
6535 if (CurInit.isInvalid()) in Perform()
6553 S.CheckMemberOperatorAccess(Kind.getLocation(), CurInit.get(), nullptr, in Perform()
6562 S.PerformObjectArgumentInitialization(CurInit.get(), in Perform()
6567 CurInit = CurInitExprRes; in Perform()
6570 CurInit = S.BuildCXXMemberCallExpr(CurInit.get(), FoundFn, Conversion, in Perform()
6572 if (CurInit.isInvalid() || !CurInit.get()) in Perform()
6584 QualType T = CurInit.get()->getType(); in Perform()
6588 S.CheckDestructorAccess(CurInit.get()->getLocStart(), Destructor, in Perform()
6590 S.MarkFunctionReferenced(CurInit.get()->getLocStart(), Destructor); in Perform()
6591 if (S.DiagnoseUseOfDecl(Destructor, CurInit.get()->getLocStart())) in Perform()
6596 CurInit = ImplicitCastExpr::Create(S.Context, CurInit.get()->getType(), in Perform()
6597 CastKind, CurInit.get(), nullptr, in Perform()
6598 CurInit.get()->getValueKind()); in Perform()
6600 CurInit = S.MaybeBindToTemporary(CurInit.getAs<Expr>()); in Perform()
6602 CurInit = CopyObject(S, Entity.getType().getNonReferenceType(), Entity, in Perform()
6603 CurInit, /*IsExtraneousCopy=*/false); in Perform()
6617 CurInit = S.ImpCastExprToType(CurInit.get(), Step->Type, CK_NoOp, VK); in Perform()
6622 assert(CurInit.get()->isRValue() && "cannot convert glvalue to atomic"); in Perform()
6623 CurInit = S.ImpCastExprToType(CurInit.get(), Step->Type, in Perform()
6629 assert(CurInit.get()->isGLValue() && "cannot load from a prvalue"); in Perform()
6630 CurInit = ImplicitCastExpr::Create(S.Context, Step->Type, in Perform()
6631 CK_LValueToRValue, CurInit.get(), in Perform()
6644 S.PerformImplicitConversion(CurInit.get(), Step->Type, *Step->ICS, in Perform()
6648 CurInit = CurInitExprRes; in Perform()
6651 S.getLangOpts().CPlusPlus && !CurInit.get()->isValueDependent()) in Perform()
6653 CurInit.get()); in Perform()
6658 InitListExpr *InitList = cast<InitListExpr>(CurInit.get()); in Perform()
6686 CurInit.get(); in Perform()
6687 CurInit = shouldBindAsTemporary(InitEntity) in Perform()
6708 CurInit = PerformConstructorInitialization(S, UseTemporary ? TempEntity : in Perform()
6720 CurInit = cast<InitListExpr>(CurInit.get())->getInit(0); in Perform()
6724 Expr *E = CurInit.get(); in Perform()
6731 CurInit = ILE; in Perform()
6748 CurInit = PerformConstructorInitialization( in Perform()
6775 CurInit = new (S.Context) CXXScalarValueInitExpr( in Perform()
6779 CurInit = new (S.Context) ImplicitValueInitExpr(Step->Type); in Perform()
6785 QualType SourceType = CurInit.get()->getType(); in Perform()
6787 ExprResult InitialCurInit = CurInit; in Perform()
6788 ExprResult Result = CurInit; in Perform()
6794 CurInit = Result; in Perform()
6797 ExprResult CurInitExprRes = CurInit; in Perform()
6805 CurInit = CurInitExprRes; in Perform()
6822 CheckStringInit(CurInit.get(), ResultType ? *ResultType : Ty, in Perform()
6828 CurInit = S.ImpCastExprToType(CurInit.get(), Step->Type, in Perform()
6830 CurInit.get()->getValueKind()); in Perform()
6837 << Step->Type << CurInit.get()->getType() in Perform()
6838 << CurInit.get()->getSourceRange(); in Perform()
6846 = S.Context.getAsConstantArrayType(CurInit.get()->getType())) { in Perform()
6860 << CurInit.get()->getSourceRange(); in Perform()
6865 checkIndirectCopyRestoreSource(S, CurInit.get()); in Perform()
6866 CurInit = new (S.Context) ObjCIndirectCopyRestoreExpr( in Perform()
6867 CurInit.get(), Step->Type, in Perform()
6872 CurInit = in Perform()
6874 CurInit.get(), nullptr, VK_RValue); in Perform()
6878 S.Diag(CurInit.get()->getExprLoc(), in Perform()
6880 << CurInit.get()->getSourceRange(); in Perform()
6884 CurInit.get()->getType(), CurInit.get(), in Perform()
6892 warnOnLifetimeExtension(S, Entity, CurInit.get(), in Perform()
6897 CurInit = new (S.Context) CXXStdInitializerListExpr(Step->Type, MTE); in Perform()
6902 CurInit = S.MaybeBindToTemporary(CurInit.get()); in Perform()
6910 QualType SourceType = CurInit.get()->getType(); in Perform()
6926 CurInit = S.ImpCastExprToType(CurInit.get(), Step->Type, in Perform()
6928 CurInit.get()->getValueKind()); in Perform()
6939 CurInit.get()); in Perform()
6942 if (const Expr *E = CurInit.get()) { in Perform()
6947 return CurInit; in Perform()