Lines Matching defs:InitializationSequence
283 InitializationSequence InitSeq(SemaRef, Entity, Kind, 0, 0);
299 // handled in InitializationSequence.
316 InitializationSequence InitSeq(SemaRef, MemberEntity, Kind, 0, 0);
425 InitializationSequence InitSeq(SemaRef, ElementEntity, Kind, 0, 0);
795 InitializationSequence Seq(SemaRef, Entity, Kind, &expr, 1);
2402 void InitializationSequence::Step::Destroy() {
2437 bool InitializationSequence::isDirectReferenceBinding() const {
2441 bool InitializationSequence::isAmbiguous() const {
2481 bool InitializationSequence::isConstructorInitialization() const {
2486 InitializationSequence
2499 void InitializationSequence::AddDerivedToBaseCastStep(QualType BaseType,
2511 void InitializationSequence::AddReferenceBindingStep(QualType T,
2519 void InitializationSequence::AddExtraneousCopyToTemporary(QualType T) {
2527 InitializationSequence::AddUserConversionStep(FunctionDecl *Function,
2540 void InitializationSequence::AddQualificationConversionStep(QualType Ty,
2559 void InitializationSequence::AddConversionSequenceStep(
2569 void InitializationSequence::AddListInitializationStep(QualType T) {
2577 InitializationSequence
2593 void InitializationSequence::AddZeroInitializationStep(QualType T) {
2600 void InitializationSequence::AddCAssignmentStep(QualType T) {
2607 void InitializationSequence::AddStringInitStep(QualType T) {
2614 void InitializationSequence::AddObjCObjectConversionStep(QualType T) {
2621 void InitializationSequence::AddArrayInitStep(QualType T) {
2628 void InitializationSequence::AddParenthesizedArrayInitStep(QualType T) {
2635 void InitializationSequence::AddPassByIndirectCopyRestoreStep(QualType type,
2644 void InitializationSequence::AddProduceObjCObjectStep(QualType T) {
2651 void InitializationSequence::AddStdInitializerListConstructionStep(QualType T) {
2658 void InitializationSequence::RewrapReferenceInitList(QualType T,
2673 void InitializationSequence::SetOverloadFailure(FailureKind Failure,
2685 InitializationSequence &Sequence,
2719 InitializationSequence &Sequence) {
2749 InitializationSequence::FK_ListConstructorOverloadFailed,
2779 InitializationSequence::FK_InitListElementCopyFailure);
2865 InitializationSequence &Sequence,
2948 InitializationSequence::FK_ListConstructorOverloadFailed :
2949 InitializationSequence::FK_ConstructorOverloadFailed,
2961 Sequence.SetFailed(InitializationSequence::FK_DefaultInitOfConst);
2970 Sequence.SetFailed(InitializationSequence::FK_ExplicitConstructor);
2989 InitializationSequence &Sequence) {
3004 Sequence.SetFailed(InitializationSequence::FK_AddressOfOverloadFailed);
3019 InitializationSequence &Sequence);
3025 InitializationSequence &Sequence);
3032 InitializationSequence &Sequence)
3036 Sequence.SetFailed(InitializationSequence::FK_ReferenceBindingToInitList);
3087 InitializationSequence::FK_NonConstLValueReferenceBindingToTemporary);
3096 InitializationSequence &Sequence) {
3103 Sequence.SetFailed(InitializationSequence::FK_TooManyInitsForScalar);
3126 InitializationSequence::FK_InitListBadDestinationType);
3136 Sequence.SetFailed(InitializationSequence::FK_ListInitializationFailed);
3151 InitializationSequence &Sequence) {
3341 InitializationSequence &Sequence) {
3371 InitializationSequence &Sequence) {
3443 InitializationSequence::FK_ReferenceInitOverloadFailed,
3454 Sequence.SetFailed(InitializationSequence::FK_AddressOfOverloadFailed);
3457 InitializationSequence::FK_ReferenceInitOverloadFailed,
3462 ? InitializationSequence::FK_ReferenceInitDropsQualifiers
3463 : InitializationSequence::FK_NonConstLValueReferenceBindingToUnrelated)
3464 : InitializationSequence::FK_NonConstLValueReferenceBindingToTemporary);
3523 InitializationSequence::FK_ReferenceInitOverloadFailed,
3529 Sequence.SetFailed(InitializationSequence::FK_ReferenceInitDropsQualifiers);
3559 InitializationSequence::FK_ReferenceInitOverloadFailed,
3562 Sequence.SetFailed(InitializationSequence::FK_AddressOfOverloadFailed);
3564 Sequence.SetFailed(InitializationSequence::FK_ReferenceInitFailed);
3577 Sequence.SetFailed(InitializationSequence::FK_ReferenceInitDropsQualifiers);
3586 InitializationSequence::FK_RValueReferenceBindingToLValue);
3600 InitializationSequence &Sequence) {
3608 InitializationSequence &Sequence) {
3660 InitializationSequence &Sequence) {
3682 Sequence.SetFailed(InitializationSequence::FK_DefaultInitOfConst);
3700 InitializationSequence &Sequence) {
3803 InitializationSequence::FK_UserConversionOverloadFailed,
3945 InitializationSequence &Sequence,
3991 InitializationSequence::InitializationSequence(Sema &S,
4220 SetFailed(InitializationSequence::FK_AddressOfOverloadFailed);
4222 SetFailed(InitializationSequence::FK_ConversionFailed);
4230 InitializationSequence::~InitializationSequence() {
4608 void InitializationSequence::PrintInitLocationNote(Sema &S,
4622 static bool isReferenceBinding(const InitializationSequence::Step &s) {
4623 return s.Kind == InitializationSequence::SK_BindReference ||
4624 s.Kind == InitializationSequence::SK_BindReferenceToTemporary;
4632 const InitializationSequence::Step& Step,
4752 InitializationSequence::Perform(Sema &S,
5376 bool InitializationSequence::Diagnose(Sema &S,
5761 void InitializationSequence::dump(raw_ostream &OS) const {
6006 void InitializationSequence::dump() const {
6010 static void DiagnoseNarrowingInInitList(Sema &S, InitializationSequence &Seq,
6019 const InitializationSequence::Step &LastStep = Seq.step_end()[-1];
6020 if (LastStep.Kind != InitializationSequence::SK_ConversionSequence)
6135 InitializationSequence Seq(*this, Entity, Kind, &InitE, 1);
6157 InitializationSequence Seq(*this, Entity, Kind, &InitE, 1);