Lines Matching refs:InitializationKind
381 InitializationKind Kind = InitializationKind::CreateValue(Loc, Loc, Loc, in PerformEmptyInit()
408 Kind = InitializationKind::CreateCopy(Loc, Loc); in PerformEmptyInit()
449 InitializationKind::CreateValue(Loc, Loc, Loc, true), in PerformEmptyInit()
1147 InitializationKind Kind = in CheckSubElementType()
1148 InitializationKind::CreateCopy(expr->getLocStart(), SourceLocation()); in CheckSubElementType()
3397 const InitializationKind &Kind,
3428 InitializationKind Kind = in TryInitializerListConstruction()
3429 InitializationKind::CreateDirectList(List->getExprLoc()); in TryInitializerListConstruction()
3513 const InitializationKind &Kind, in TryConstructorInitialization()
3539 bool CopyInitialization = Kind.getKind() == InitializationKind::IK_Copy; in TryConstructorInitialization()
3606 if (Kind.getKind() == InitializationKind::IK_Default && in TryConstructorInitialization()
3661 const InitializationKind &Kind,
3671 const InitializationKind &Kind,
3678 const InitializationKind &Kind, in TryReferenceListInitialization()
3752 const InitializationKind &Kind, in TryListInitialization()
3804 InitializationKind SubKind = in TryListInitialization()
3805 Kind.getKind() == InitializationKind::IK_DirectList in TryListInitialization()
3806 ? InitializationKind::CreateDirect(Kind.getLocation(), in TryListInitialization()
3868 Kind.getKind() == InitializationKind::IK_DirectList && in TryListInitialization()
3914 InitializationKind SubKind = in TryListInitialization()
3915 Kind.getKind() == InitializationKind::IK_DirectList in TryListInitialization()
3916 ? InitializationKind::CreateDirect(Kind.getLocation(), in TryListInitialization()
3945 const InitializationKind &Kind, in TryRefInitWithConversionFunction()
4126 const InitializationKind &Kind, in TryReferenceInitialization()
4202 const InitializationKind &Kind, in TryReferenceInitializationCore()
4439 const InitializationKind &Kind, in TryStringLiteralInitialization()
4448 const InitializationKind &Kind, in TryValueInitialization()
4526 const InitializationKind &Kind, in TryDefaultInitialization()
4528 assert(Kind.getKind() == InitializationKind::IK_Default); in TryDefaultInitialization()
4566 const InitializationKind &Kind, in TryUserDefinedConversion()
4919 const InitializationKind &Kind, in InitializationSequence()
4941 const InitializationKind &Kind, in InitializeFrom()
4996 if (Kind.getKind() != InitializationKind::IK_Direct) { in InitializeFrom()
5019 if (Kind.getKind() == InitializationKind::IK_Value || in InitializeFrom()
5020 (Kind.getKind() == InitializationKind::IK_Direct && Args.empty())) { in InitializeFrom()
5026 if (Kind.getKind() == InitializationKind::IK_Default) { in InitializeFrom()
5129 if (Kind.getKind() == InitializationKind::IK_Direct || in InitializeFrom()
5130 (Kind.getKind() == InitializationKind::IK_Copy && in InitializeFrom()
5654 const InitializationKind &Kind, in isExplicitTemporary()
5666 case InitializationKind::IK_DirectList: in isExplicitTemporary()
5669 case InitializationKind::IK_Direct: in isExplicitTemporary()
5670 case InitializationKind::IK_Value: in isExplicitTemporary()
5680 const InitializationKind &Kind, in PerformConstructorInitialization()
5699 if (Kind.getKind() == InitializationKind::IK_Default) { in PerformConstructorInitialization()
5739 (Kind.getKind() == InitializationKind::IK_DirectList) in PerformConstructorInitialization()
5773 else if (Kind.getKind() == InitializationKind::IK_Direct) in PerformConstructorInitialization()
6210 const InitializationKind &Kind, in Perform()
6272 if (Kind.getKind() == InitializationKind::IK_Direct && in Perform()
6279 assert(Kind.getKind() == InitializationKind::IK_Copy || in Perform()
6281 Kind.getKind() == InitializationKind::IK_DirectList); in Perform()
6767 } else if (Kind.getKind() == InitializationKind::IK_Value && in Perform()
7046 const InitializationKind &Kind, in Diagnose()
7059 assert(Kind.getKind() == InitializationKind::IK_Value || in Diagnose()
7295 if (Kind.getKind() == InitializationKind::IK_Default && in Diagnose()
7829 InitializationKind Kind in CanPerformCopyInitialization()
7830 = InitializationKind::CreateCopy(InitE->getLocStart(), SourceLocation()); in CanPerformCopyInitialization()
7850 InitializationKind Kind = InitializationKind::CreateCopy(InitE->getLocStart(), in PerformCopyInitialization()