Home
last modified time | relevance | path

Searched refs:MemberInit (Results 1 – 3 of 3) 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/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()