Home
last modified time | relevance | path

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

/external/clang/lib/CodeGen/
DCGClass.cpp681 CXXCtorInitializer *MemberInit, in EmitLValueForAnyFieldInitialization() argument
683 FieldDecl *Field = MemberInit->getAnyMember(); in EmitLValueForAnyFieldInitialization()
684 if (MemberInit->isIndirectMemberInitializer()) { in EmitLValueForAnyFieldInitialization()
686 IndirectFieldDecl *IndirectField = MemberInit->getIndirectMember(); in EmitLValueForAnyFieldInitialization()
696 CXXCtorInitializer *MemberInit, in EmitMemberInitializer() argument
699 ApplyDebugLocation Loc(CGF, MemberInit->getSourceLocation()); in EmitMemberInitializer()
700 assert(MemberInit->isAnyMemberInitializer() && in EmitMemberInitializer()
702 assert(MemberInit->getInit() && "Must have initializer!"); in EmitMemberInitializer()
705 FieldDecl *Field = MemberInit->getAnyMember(); in EmitMemberInitializer()
712 EmitLValueForAnyFieldInitialization(CGF, MemberInit, LHS); in EmitMemberInitializer()
[all …]
/external/clang/lib/Sema/
DSemaDeclCXX.cpp3105 ExprResult MemberInit = InitSeq.Perform(*this, MemberEntity, Kind, Args, in BuildMemberInitializer() local
3107 if (MemberInit.isInvalid()) in BuildMemberInitializer()
3110 CheckForDanglingReferenceOrPointer(*this, Member, MemberInit.get(), IdLoc); in BuildMemberInitializer()
3115 MemberInit = ActOnFinishFullExpr(MemberInit.get(), InitRange.getBegin()); in BuildMemberInitializer()
3116 if (MemberInit.isInvalid()) in BuildMemberInitializer()
3119 Init = MemberInit.get(); in BuildMemberInitializer()
3581 ExprResult MemberInit in BuildImplicitMemberInitializer() local
3584 MemberInit = SemaRef.MaybeCreateExprWithCleanups(MemberInit); in BuildImplicitMemberInitializer()
3585 if (MemberInit.isInvalid()) in BuildImplicitMemberInitializer()
3594 MemberInit.getAs<Expr>(), in BuildImplicitMemberInitializer()
[all …]
DSemaInit.cpp537 ExprResult MemberInit = PerformEmptyInit(SemaRef, Loc, MemberEntity, in FillInEmptyInitForField() local
539 if (MemberInit.isInvalid()) { in FillInEmptyInitForField()
547 ILE->setInit(Init, MemberInit.getAs<Expr>()); in FillInEmptyInitForField()
548 } else if (!isa<ImplicitValueInitExpr>(MemberInit.get())) { in FillInEmptyInitForField()
553 ILE->updateInit(SemaRef.Context, Init, MemberInit.getAs<Expr>()); in FillInEmptyInitForField()