Home
last modified time | relevance | path

Searched refs:MemberInit (Results 1 – 6 of 6) sorted by relevance

/external/clang/lib/CodeGen/
DCGClass.cpp682 CXXCtorInitializer *MemberInit, in EmitLValueForAnyFieldInitialization() argument
684 FieldDecl *Field = MemberInit->getAnyMember(); in EmitLValueForAnyFieldInitialization()
685 if (MemberInit->isIndirectMemberInitializer()) { in EmitLValueForAnyFieldInitialization()
687 IndirectFieldDecl *IndirectField = MemberInit->getIndirectMember(); in EmitLValueForAnyFieldInitialization()
697 CXXCtorInitializer *MemberInit, in EmitMemberInitializer() argument
700 ApplyDebugLocation Loc(CGF, MemberInit->getSourceLocation()); in EmitMemberInitializer()
701 assert(MemberInit->isAnyMemberInitializer() && in EmitMemberInitializer()
703 assert(MemberInit->getInit() && "Must have initializer!"); in EmitMemberInitializer()
706 FieldDecl *Field = MemberInit->getAnyMember(); in EmitMemberInitializer()
713 EmitLValueForAnyFieldInitialization(CGF, MemberInit, LHS); in EmitMemberInitializer()
[all …]
/external/llvm-project/clang/lib/CodeGen/
DCGClass.cpp617 CXXCtorInitializer *MemberInit, in EmitLValueForAnyFieldInitialization() argument
619 FieldDecl *Field = MemberInit->getAnyMember(); in EmitLValueForAnyFieldInitialization()
620 if (MemberInit->isIndirectMemberInitializer()) { in EmitLValueForAnyFieldInitialization()
622 IndirectFieldDecl *IndirectField = MemberInit->getIndirectMember(); in EmitLValueForAnyFieldInitialization()
632 CXXCtorInitializer *MemberInit, in EmitMemberInitializer() argument
635 ApplyDebugLocation Loc(CGF, MemberInit->getSourceLocation()); in EmitMemberInitializer()
636 assert(MemberInit->isAnyMemberInitializer() && in EmitMemberInitializer()
638 assert(MemberInit->getInit() && "Must have initializer!"); in EmitMemberInitializer()
641 FieldDecl *Field = MemberInit->getAnyMember(); in EmitMemberInitializer()
655 EmitLValueForAnyFieldInitialization(CGF, MemberInit, LHS); in EmitMemberInitializer()
[all …]
/external/clang/lib/Sema/
DSemaDeclCXX.cpp3108 ExprResult MemberInit = InitSeq.Perform(*this, MemberEntity, Kind, Args, in BuildMemberInitializer() local
3110 if (MemberInit.isInvalid()) in BuildMemberInitializer()
3113 CheckForDanglingReferenceOrPointer(*this, Member, MemberInit.get(), IdLoc); in BuildMemberInitializer()
3118 MemberInit = ActOnFinishFullExpr(MemberInit.get(), InitRange.getBegin()); in BuildMemberInitializer()
3119 if (MemberInit.isInvalid()) in BuildMemberInitializer()
3122 Init = MemberInit.get(); in BuildMemberInitializer()
3557 ExprResult MemberInit in BuildImplicitMemberInitializer() local
3560 MemberInit = SemaRef.MaybeCreateExprWithCleanups(MemberInit); in BuildImplicitMemberInitializer()
3561 if (MemberInit.isInvalid()) in BuildImplicitMemberInitializer()
3570 MemberInit.getAs<Expr>(), in BuildImplicitMemberInitializer()
[all …]
DSemaInit.cpp581 ExprResult MemberInit = PerformEmptyInit(SemaRef, Loc, MemberEntity, in FillInEmptyInitForField() local
584 if (MemberInit.isInvalid()) { in FillInEmptyInitForField()
592 ILE->setInit(Init, MemberInit.getAs<Expr>()); in FillInEmptyInitForField()
593 } else if (!isa<ImplicitValueInitExpr>(MemberInit.get())) { in FillInEmptyInitForField()
598 ILE->updateInit(SemaRef.Context, Init, MemberInit.getAs<Expr>()); in FillInEmptyInitForField()
/external/llvm-project/clang/lib/Sema/
DSemaDeclCXX.cpp4355 ExprResult MemberInit = InitSeq.Perform(*this, MemberEntity, Kind, Args, in BuildMemberInitializer() local
4357 if (MemberInit.isInvalid()) in BuildMemberInitializer()
4363 MemberInit = ActOnFinishFullExpr(MemberInit.get(), InitRange.getBegin(), in BuildMemberInitializer()
4365 if (MemberInit.isInvalid()) in BuildMemberInitializer()
4368 Init = MemberInit.get(); in BuildMemberInitializer()
4746 ExprResult MemberInit = in BuildImplicitMemberInitializer() local
4748 MemberInit = SemaRef.MaybeCreateExprWithCleanups(MemberInit); in BuildImplicitMemberInitializer()
4749 if (MemberInit.isInvalid()) in BuildImplicitMemberInitializer()
4754 SemaRef.Context, Indirect, Loc, Loc, MemberInit.getAs<Expr>(), Loc); in BuildImplicitMemberInitializer()
4757 SemaRef.Context, Field, Loc, Loc, MemberInit.getAs<Expr>(), Loc); in BuildImplicitMemberInitializer()
[all …]
DSemaInit.cpp705 ExprResult MemberInit = PerformEmptyInit(Loc, MemberEntity); in FillInEmptyInitForField() local
706 if (MemberInit.isInvalid()) { in FillInEmptyInitForField()
714 ILE->setInit(Init, MemberInit.getAs<Expr>()); in FillInEmptyInitForField()
715 } else if (!isa<ImplicitValueInitExpr>(MemberInit.get())) { in FillInEmptyInitForField()
720 ILE->updateInit(SemaRef.Context, Init, MemberInit.getAs<Expr>()); in FillInEmptyInitForField()