Lines Matching defs:Entity

294   void CheckImplicitInitList(const InitializedEntity &Entity,
298 void CheckExplicitInitList(const InitializedEntity &Entity,
302 void CheckListElementTypes(const InitializedEntity &Entity,
309 void CheckSubElementType(const InitializedEntity &Entity,
314 void CheckComplexType(const InitializedEntity &Entity,
319 void CheckScalarType(const InitializedEntity &Entity,
324 void CheckReferenceType(const InitializedEntity &Entity,
329 void CheckVectorType(const InitializedEntity &Entity,
333 void CheckStructUnionTypes(const InitializedEntity &Entity,
341 void CheckArrayType(const InitializedEntity &Entity,
347 bool CheckDesignatedInitializer(const InitializedEntity &Entity,
374 const InitializedEntity &Entity);
460 void FillInEmptyInitializations(const InitializedEntity &Entity,
464 bool CheckFlexibleArrayInit(const InitializedEntity &Entity,
467 void CheckEmptyInitializable(const InitializedEntity &Entity,
471 InitListChecker(Sema &S, const InitializedEntity &Entity, InitListExpr *IL,
484 const InitializedEntity &Entity) {
496 Entity.getType()->getBaseElementTypeUnsafe()->isRecordType();
518 InitializationSequence InitSeq(SemaRef, Entity, Kind, SubInit);
552 SemaRef, Entity,
561 if (Entity.getKind() == InitializedEntity::EK_Member)
562 SemaRef.Diag(Entity.getDecl()->getLocation(),
564 else if (Entity.getKind() == InitializedEntity::EK_ArrayElement)
572 InitSeq.Diagnose(SemaRef, Entity, Kind, SubInit);
573 if (Entity.getKind() == InitializedEntity::EK_Member)
574 SemaRef.Diag(Entity.getDecl()->getLocation(),
576 << /*field*/1 << Entity.getDecl();
577 else if (Entity.getKind() == InitializedEntity::EK_ArrayElement) {
579 Entity.getParent() &&
580 Entity.getParent()->isVariableLengthArrayNew();
583 << Entity.getElementIndex();
591 : InitSeq.Perform(SemaRef, Entity, Kind, SubInit);
594 void InitListChecker::CheckEmptyInitializable(const InitializedEntity &Entity,
601 PerformEmptyInit(Loc, Entity);
734 InitListChecker::FillInEmptyInitializations(const InitializedEntity &Entity,
773 Entity, ILE, RequiresSecondPass, FillWithNoInit);
778 FillInEmptyInitForField(0, Field, Entity, ILE, RequiresSecondPass,
800 FillInEmptyInitForBase(Init, Base, Entity, ILE, RequiresSecondPass,
813 FillInEmptyInitForField(Init, Field, Entity, ILE, RequiresSecondPass,
831 InitializedEntity ElementEntity = Entity;
840 if (Entity.isVariableLengthArrayNew())
843 0, Entity);
848 0, Entity);
936 InitListChecker::InitListChecker(Sema &S, const InitializedEntity &Entity,
953 CheckExplicitInitList(Entity, IL, T, FullyStructuredList,
958 FillInEmptyInitializations(Entity, FullyStructuredList, RequiresSecondPass,
961 FillInEmptyInitializations(Entity, FullyStructuredList,
990 /// Determine whether Entity is an entity for which it is idiomatic to elide
992 static bool isIdiomaticBraceElisionEntity(const InitializedEntity &Entity) {
1003 if (Entity.getKind() != InitializedEntity::EK_Member || !Entity.getParent())
1007 Entity.getParent()->getType()->castAs<RecordType>()->getDecl();
1024 void InitListChecker::CheckImplicitInitList(const InitializedEntity &Entity,
1058 CheckListElementTypes(Entity, ParentIList, T,
1079 !isIdiomaticBraceElisionEntity(Entity)) {
1101 /// Warn that \p Entity was of scalar type and was initialized by a
1103 static void warnBracedScalarInit(Sema &S, const InitializedEntity &Entity,
1113 switch (Entity.getKind()) {
1127 if (Entity.getParent())
1170 void InitListChecker::CheckExplicitInitList(const InitializedEntity &Entity,
1175 CheckListElementTypes(Entity, IList, T, /*SubobjectIsDesignatorContext=*/true,
1222 warnBracedScalarInit(SemaRef, Entity, IList->getSourceRange());
1245 void InitListChecker::CheckListElementTypes(const InitializedEntity &Entity,
1256 CheckComplexType(Entity, IList, DeclType, Index,
1259 CheckScalarType(Entity, IList, DeclType, Index,
1262 CheckVectorType(Entity, IList, DeclType, Index,
1273 CheckStructUnionTypes(Entity, IList, DeclType, Bases, RD->field_begin(),
1280 CheckArrayType(Entity, IList, DeclType, Zero,
1291 CheckReferenceType(Entity, IList, DeclType, Index,
1299 CheckScalarType(Entity, IList, DeclType, Index, StructuredList,
1309 void InitListChecker::CheckSubElementType(const InitializedEntity &Entity,
1318 return CheckReferenceType(Entity, IList, ElemType, Index,
1353 (ElemType->isExtVectorType() && !Entity.getType()->isExtVectorType())
1355 : Entity;
1387 return CheckScalarType(Entity, IList, ElemType, Index,
1447 CheckImplicitInitList(Entity, IList, ElemType, Index, StructuredList,
1456 SemaRef.PerformCopyInitialization(Entity, SourceLocation(), expr,
1468 void InitListChecker::CheckComplexType(const InitializedEntity &Entity,
1483 return CheckScalarType(Entity, IList, DeclType, Index, StructuredList,
1495 InitializedEntity::InitializeElement(SemaRef.Context, 0, Entity);
1504 void InitListChecker::CheckScalarType(const InitializedEntity &Entity,
1531 CheckScalarType(Entity, SubIList, DeclType, Index, StructuredList,
1546 if (SemaRef.CanPerformCopyInitialization(Entity, expr))
1552 SemaRef.PerformCopyInitialization(Entity, expr->getBeginLoc(), expr,
1576 void InitListChecker::CheckReferenceType(const InitializedEntity &Entity,
1609 if (SemaRef.CanPerformCopyInitialization(Entity,expr))
1615 SemaRef.PerformCopyInitialization(Entity, expr->getBeginLoc(), expr,
1634 void InitListChecker::CheckVectorType(const InitializedEntity &Entity,
1647 InitializedEntity::InitializeElement(SemaRef.Context, 0, Entity),
1659 if (SemaRef.CanPerformCopyInitialization(Entity, Init))
1665 SemaRef.PerformCopyInitialization(Entity, Init->getBeginLoc(), Init,
1691 InitializedEntity::InitializeElement(SemaRef.Context, 0, Entity);
1709 const VectorType *T = Entity.getType()->castAs<VectorType>();
1748 InitializedEntity::InitializeElement(SemaRef.Context, 0, Entity);
1813 void InitListChecker::CheckArrayType(const InitializedEntity &Entity,
1888 if (CheckDesignatedInitializer(Entity, IList, DIE, 0,
1917 Entity);
1932 if (maxElements == Zero && !Entity.isVariableLengthArrayNew()) {
1947 Entity.isVariableLengthArrayNew())
1949 InitializedEntity::InitializeElement(SemaRef.Context, 0, Entity),
1954 bool InitListChecker::CheckFlexibleArrayInit(const InitializedEntity &Entity,
1971 } else if (Entity.getKind() != InitializedEntity::EK_Variable) {
1974 } else if (cast<VarDecl>(Entity.getDecl())->hasLocalStorage()) {
1993 const InitializedEntity &Entity, InitListExpr *IList, QualType DeclType,
2042 InitializedEntity::InitializeMember(*Field, &Entity),
2065 SemaRef.Context, &Base, false, &Entity);
2106 if (CheckDesignatedInitializer(Entity, IList, DIE, 0,
2173 InitializedEntity::InitializeMember(*Field, &Entity);
2209 InitializedEntity::InitializeMember(*Field, &Entity),
2233 if (CheckFlexibleArrayInit(Entity, IList->getInit(Index), *Field,
2241 InitializedEntity::InitializeMember(*Field, &Entity);
2357 InitListChecker::CheckDesignatedInitializer(const InitializedEntity &Entity,
2380 InitializationSequence Seq(SemaRef, Entity, Kind, Init,
2385 : Seq.Perform(SemaRef, Entity, Kind, Init);
2402 CheckSubElementType(Entity, IList, CurrentObjectType, Index,
2697 if (!Invalid && CheckFlexibleArrayInit(Entity, DIE->getInit(), *Field,
2713 InitializedEntity::InitializeMember(*Field, &Entity);
2732 InitializedEntity::InitializeMember(*Field, &Entity);
2767 CheckStructUnionTypes(Entity, IList, CurrentObjectType, NoBases, Field,
2928 InitializedEntity::InitializeElement(SemaRef.Context, 0, Entity);
2962 CheckArrayType(Entity, IList, CurrentObjectType, DesignatedStartIndex,
3094 const InitializedEntity &Entity, InitListExpr *From) {
3095 QualType Type = Entity.getType();
3096 InitListChecker Check(*this, Entity, From, Type, /*VerifyOnly=*/true,
3755 const InitializedEntity &Entity) {
3756 if (Entity.getKind() != InitializedEntity::EK_Variable)
3759 VarDecl *VD = cast<VarDecl>(Entity.getDecl());
3767 Sequence.AddZeroInitializationStep(Entity.getType());
3776 const InitializedEntity &Entity) {
3781 if (Entity.isParameterKind()) {
3782 if (!Entity.isParameterConsumed())
3785 assert(Entity.getType()->isObjCRetainableType() &&
3787 Sequence.AddProduceObjCObjectStep(Entity.getType());
3793 } else if (Entity.getKind() == InitializedEntity::EK_Result ||
3794 Entity.getKind() == InitializedEntity::EK_StmtExprResult) {
3795 if (!Entity.getType()->isObjCRetainableType())
3798 Sequence.AddProduceObjCObjectStep(Entity.getType());
3803 const InitializedEntity &Entity,
3980 const InitializedEntity &Entity,
4012 Entity.getKind() != InitializedEntity::EK_Base &&
4013 Entity.getKind() != InitializedEntity::EK_Delegating &&
4014 Entity.getKind() !=
4105 Sequence.RewrapReferenceInitList(Entity.getType(), ILE);
4119 Entity.getType().isConstQualified()) {
4121 if (!maybeRecoverWithZeroInitialization(S, Sequence, Entity))
4171 const InitializedEntity &Entity,
4181 const InitializedEntity &Entity,
4188 const InitializedEntity &Entity,
4199 if (Entity.getKind() == InitializedEntity::EK_CompoundLiteralInit) {
4204 QualType DestType = Entity.getType();
4231 TryReferenceInitializationCore(S, Entity, Kind, Initializer, cv1T1, T1,
4260 const InitializedEntity &Entity,
4265 QualType DestType = Entity.getType();
4275 TryReferenceListInitialization(S, Entity, Kind, InitList, Sequence,
4303 TryConstructorInitialization(S, Entity, Kind, InitListAsExpr, DestType,
4320 Sequence.InitializeFrom(S, Entity, SubKind, SubInit,
4328 Sequence.RewrapReferenceInitList(Entity.getType(), InitList);
4347 TryValueInitialization(S, Entity, Kind, Sequence, InitList);
4360 TryConstructorInitialization(S, Entity, Kind, InitListAsExpr, DestType,
4408 Sequence.RewrapReferenceInitList(Entity.getType(), InitList);
4433 Sequence.InitializeFrom(S, Entity, SubKind, SubInit,
4437 Sequence.RewrapReferenceInitList(Entity.getType(), InitList);
4442 InitListChecker CheckInitList(S, Entity, InitList,
4456 Sema &S, const InitializedEntity &Entity, const InitializationKind &Kind,
4459 QualType DestType = Entity.getType();
4636 const InitializedEntity &Entity,
4641 const InitializedEntity &Entity,
4645 QualType DestType = Entity.getType();
4661 TryReferenceInitializationCore(S, Entity, Kind, Initializer, cv1T1, T1,
4674 const InitializedEntity &Entity,
4682 QualType DestType = Entity.getType();
4750 S, Entity, Kind, Initializer, /*AllowRValues*/ isRValueRef,
4835 CheckCXX98CompatAccessibleCopy(S, Entity, Initializer);
4886 S, Entity, Kind, Initializer, /*AllowRValues*/ true,
4988 const InitializedEntity &Entity,
4992 Sequence.AddStringInitStep(Entity.getType());
4997 const InitializedEntity &Entity,
5007 QualType T = Entity.getType();
5038 Sequence.AddZeroInitializationStep(Entity.getType());
5066 S, Entity, Kind, Args, T, Entity.getType(), Sequence, InitListSyntax);
5070 Sequence.AddZeroInitializationStep(Entity.getType());
5075 const InitializedEntity &Entity,
5083 QualType DestType = S.Context.getBaseElementType(Entity.getType());
5089 TryConstructorInitialization(S, Entity, Kind, None, DestType,
5090 Entity.getType(), Sequence);
5100 if (!maybeRecoverWithZeroInitialization(S, Sequence, Entity))
5107 Sequence.AddZeroInitializationStep(Entity.getType());
5295 const InitializedEntity &Entity,
5298 Entity.getKind() == InitializedEntity::EK_Result &&
5299 Entity.getType()->isPointerType() &&
5412 const InitializedEntity &Entity,
5425 if (!S.isObjCWritebackConversion(ArgType, Entity.getType(),
5432 if (ParmVarDecl *param = cast_or_null<ParmVarDecl>(Entity.getDecl()))
5453 Sequence.AddPassByIndirectCopyRestoreStep(Entity.getType(), ShouldCopy);
5518 const InitializedEntity &Entity,
5524 InitializeFrom(S, Entity, Kind, Args, TopLevelOfInitList,
5541 static bool canPerformArrayCopy(const InitializedEntity &Entity) {
5542 switch (Entity.getKind()) {
5553 return isa<DecompositionDecl>(Entity.getDecl());
5559 return Entity.isImplicitMemberInitializer();
5564 if (auto *E = Entity.getParent())
5576 const InitializedEntity &Entity,
5604 QualType DestType = Entity.getType();
5634 TryListInitialization(S, Entity, Kind, InitList, *this,
5656 TryReferenceInitialization(S, Entity, Kind, Args[0], *this);
5663 TryValueInitialization(S, Entity, Kind, *this);
5669 TryDefaultInitialization(S, Entity, Kind, *this);
5687 TryStringLiteralInitialization(S, Entity, Kind, Initializer, *this);
5713 Entity.getType()) &&
5714 canPerformArrayCopy(Entity)) {
5723 InitializedEntity::InitializeElement(S.Context, 0, Entity);
5733 AddArrayInitLoopStep(Entity.getType(), InitEltT);
5756 Entity.getKind() == InitializedEntity::EK_Member &&
5758 TryListInitialization(S, Entity, Kind, cast<InitListExpr>(Initializer),
5774 Entity.isParameterKind();
5784 tryObjCWritebackConversion(S, *this, Entity, Initializer)) {
5793 MaybeProduceObjCObject(S, *this, Entity);
5809 TryConstructorInitialization(S, Entity, Kind, Args,
5851 MaybeProduceObjCObject(S, *this, Entity);
5853 AddAtomicConversionStep(Entity.getType());
5878 if (ParmVarDecl *Param = cast_or_null<ParmVarDecl>(Entity.getDecl()))
5895 if (isLibstdcxxPointerReturnFalseHack(S, Entity, Initializer)) {
5896 AddZeroInitializationStep(Entity.getType());
5909 MaybeProduceObjCObject(S, *this, Entity);
5922 getAssignmentAction(const InitializedEntity &Entity, bool Diagnose = false) {
5923 switch(Entity.getKind()) {
5932 if (Entity.getDecl() &&
5933 isa<ObjCMethodDecl>(Entity.getDecl()->getDeclContext()))
5939 if (Entity.getDecl() &&
5940 isa<ObjCMethodDecl>(Entity.getDecl()->getDeclContext()))
5971 static bool shouldBindAsTemporary(const InitializedEntity &Entity) {
5972 switch (Entity.getKind()) {
6003 static bool shouldDestroyEntity(const InitializedEntity &Entity) {
6004 switch (Entity.getKind()) {
6034 static SourceLocation getInitializationLoc(const InitializedEntity &Entity,
6036 switch (Entity.getKind()) {
6039 return Entity.getReturnLoc();
6042 return Entity.getThrowLoc();
6046 return Entity.getDecl()->getLocation();
6049 return Entity.getCaptureLoc();
6079 /// \param Entity The entity being initialized.
6092 const InitializedEntity &Entity,
6105 SourceLocation Loc = getInitializationLoc(Entity, CurInit.get());
6132 << (int)Entity.getKind() << CurInitExpr->getType()
6142 << (int)Entity.getKind()
6150 << (int)Entity.getKind() << CurInitExpr->getType()
6162 S.CheckConstructorAccess(Loc, Constructor, Best->FoundDecl, Entity,
6234 if (!CurInit.isInvalid() && shouldBindAsTemporary(Entity))
6243 const InitializedEntity &Entity,
6251 SourceLocation Loc = getInitializationLoc(Entity, CurInitExpr);
6269 << OR << (int)Entity.getKind() << CurInitExpr->getType()
6275 Best->FoundDecl, Entity, Diag);
6297 const InitializedEntity &Entity) {
6298 if (Entity.isParameterKind() && Entity.getDecl()) {
6299 if (Entity.getDecl()->getLocation().isInvalid())
6302 if (Entity.getDecl()->getDeclName())
6303 S.Diag(Entity.getDecl()->getLocation(), diag::note_parameter_named_here)
6304 << Entity.getDecl()->getDeclName();
6306 S.Diag(Entity.getDecl()->getLocation(), diag::note_parameter_here);
6308 else if (Entity.getKind() == InitializedEntity::EK_RelatedResult &&
6309 Entity.getMethodDecl())
6310 S.Diag(Entity.getMethodDecl()->getLocation(),
6312 << Entity.getMethodDecl()->getDeclName();
6317 static bool isExplicitTemporary(const InitializedEntity &Entity,
6320 switch (Entity.getKind()) {
6343 const InitializedEntity &Entity,
6398 if (isExplicitTemporary(Entity, Kind, NumArgs)) {
6403 TypeSourceInfo *TSInfo = Entity.getTypeSourceInfo();
6405 TSInfo = S.Context.getTrivialTypeSourceInfo(Entity.getType(), Loc);
6421 Entity.getType().getNonLValueExprType(S.Context), TSInfo,
6429 if (Entity.getKind() == InitializedEntity::EK_Base) {
6430 ConstructKind = Entity.getBaseSpecifier()->isVirtual() ?
6433 } else if (Entity.getKind() == InitializedEntity::EK_Delegating) {
6447 if (Entity.allowsNRVO())
6474 S.CheckConstructorAccess(Loc, Constructor, Step.Function.FoundDecl, Entity);
6478 if (const ArrayType *AT = S.Context.getAsArrayType(Entity.getType()))
6482 if (shouldBindAsTemporary(Entity))
6520 /// the initialization of \p Entity.
6522 const InitializedEntity *Entity,
6525 switch (Entity->getKind()) {
6528 return {Entity, LK_Extended};
6532 if (Entity->getParent())
6533 return getEntityLifetime(Entity->getParent(), Entity);
6547 return {Entity, Entity->isDefaultMemberInitializer() ? LK_Extended
6553 return {Entity, LK_Extended};
6589 return getEntityLifetime(Entity->getParent(), InitField);
6593 if (Entity->getParent())
6594 return getEntityLifetime(Entity->getParent(), InitField);
7323 void Sema::checkInitializerLifetime(const InitializedEntity &Entity,
7325 LifetimeResult LR = getEntityLifetime(&Entity);
7410 << RK << !Entity.getParent()
7432 bool IsSubobjectMember = ExtendingEntity != &Entity;
7497 << !Entity.getParent() << DiagRange;
7512 << Entity.getType()->isReferenceType() << DRE->getDecl()
7524 << Entity.getType()->isReferenceType() << DiagRange;
7751 const InitializedEntity &Entity,
7756 Diagnose(S, Entity, Kind, Args);
7761 if (Decl *D = Entity.getDecl())
7768 QualType DestType = Entity.getType();
7779 if (ResultType && !Entity.getType()->isDependentType() &&
7781 QualType DeclType = Entity.getType();
7795 if (auto *DD = dyn_cast_or_null<DeclaratorDecl>(Entity.getDecl())) {
7831 if (S.getLangOpts().CPlusPlus11 && Entity.getType()->isReferenceType() &&
7833 !Entity.isParameterKind()) {
7843 QualType ETy = Entity.getType();
7849 Entity.getKind() == InitializedEntity::EK_Variable && Args.size() > 0) {
7852 << SourceRange(Entity.getDecl()->getBeginLoc(), Args[0]->getEndLoc());
7856 QualType DestType = Entity.getType().getNonReferenceType();
7857 // FIXME: Ugly hack around the fact that Entity.getType() is not
7858 // the same as Entity.getDecl()->getType() in cases involving type merging,
7861 *ResultType = Entity.getDecl() ? Entity.getDecl()->getType() :
7862 Entity.getType();
7927 if (Entity.getKind() == InitializedEntity::EK_Base ||
7928 Entity.getKind() == InitializedEntity::EK_Delegating)
8016 Step->Type, CurInit.get(), Entity.getType()->isLValueReferenceType());
8036 if (!shouldBindAsTemporary(Entity))
8038 CurInit = CopyObject(S, Step->Type, Entity, CurInit,
8043 CurInit = CopyObject(S, Step->Type, Entity, CurInit,
8082 Entity);
8112 if (shouldBindAsTemporary(Entity))
8116 else if (CreatedObject && shouldDestroyEntity(Entity)) {
8176 getAssignmentAction(Entity), CCK);
8186 DiagnoseNarrowingInInitList(S, *Step->ICS, SourceType, Entity.getType(),
8200 bool IsTemporary = !S.Context.hasSameType(Entity.getType(), Ty);
8202 InitializedEntity InitEntity = IsTemporary ? TempEntity : Entity;
8242 Entity.getType().getNonReferenceType());
8243 bool UseTemporary = Entity.getType()->isReferenceType();
8250 Entity,
8288 Entity.getType().getNonReferenceType());
8289 bool UseTemporary = Entity.getType()->isReferenceType();
8297 S, UseTemporary ? TempEntity : Entity, Kind,
8319 TypeSourceInfo *TSInfo = Entity.getTypeSourceInfo();
8325 Entity.getType().getNonLValueExprType(S.Context), TSInfo,
8341 Entity.getKind() == InitializedEntity::EK_Parameter_CF_Audited);
8349 Entity.isParameterKind() &&
8361 getAssignmentAction(Entity, true),
8363 PrintInitLocationNote(S, Entity);
8366 PrintInitLocationNote(S, Entity);
8467 if (shouldBindAsTemporary(Entity))
8493 if (Entity.isParameterKind()) {
8581 S.checkInitializerLifetime(Entity, Init);
8584 if (Entity.getKind() == InitializedEntity::EK_Member &&
8585 cast<FieldDecl>(Entity.getDecl())->isBitField())
8587 cast<FieldDecl>(Entity.getDecl()),
8593 Entity.getKind() == InitializedEntity::EK_Result);
8657 static void diagnoseListInit(Sema &S, const InitializedEntity &Entity,
8659 QualType DestType = Entity.getType();
8680 if (auto *D = Entity.getDecl())
8686 InitListChecker DiagnoseInitList(S, Entity, InitList, DestType,
8694 const InitializedEntity &Entity,
8713 QualType DestType = Entity.getType();
8733 << 1 << Entity.getType() << Args[0]->getSourceRange();
8824 << (Entity.getKind() == InitializedEntity::EK_Result)
8935 emitBadConversionNotes(S, Entity, Args[0]);
8941 << (int)Entity.getKind()
8948 emitBadConversionNotes(S, Entity, Args[0]);
8979 << 0 << Entity.getType() << Args[0]->getSourceRange();
9019 (Entity.getKind() == InitializedEntity::EK_Base ||
9020 Entity.getKind() == InitializedEntity::EK_Member) &&
9031 if (Entity.getKind() == InitializedEntity::EK_Base) {
9036 << Entity.getType()
9040 = Entity.getBaseSpecifier()->getType()->castAs<RecordType>()
9049 << Entity.getName()
9051 S.Diag(Entity.getDecl()->getLocation(),
9055 = Entity.getType()->getAs<RecordType>())
9104 if (Entity.getKind() == InitializedEntity::EK_Member &&
9115 << Entity.getName();
9116 S.Diag(Entity.getDecl()->getLocation(), diag::note_previous_decl)
9117 << Entity.getName();
9132 diagnoseListInit(S, Entity, InitList);
9156 PrintInitLocationNote(S, Entity);
9593 Sema::CanPerformCopyInitialization(const InitializedEntity &Entity,
9603 InitializationSequence Seq(*this, Entity, Kind, InitE);
9608 Sema::PerformCopyInitialization(const InitializedEntity &Entity,
9624 InitializationSequence Seq(*this, Entity, Kind, InitE, TopLevelOfInitList);
9628 Entity.isParameterKind() && Seq.isConstructorInitialization();
9630 if (llvm::find(CurrentParameterCopyTypes, Entity.getType()) !=
9658 CurrentParameterCopyTypes.push_back(Entity.getType());
9661 ExprResult Result = Seq.Perform(*this, Entity, Kind, InitE);
9680 TypeSourceInfo *TSInfo, const InitializedEntity &Entity,