Lines Matching refs:Ctor
722 const CXXConstructorDecl *Ctor) { in IsConstructorDelegationValid() argument
736 if (Ctor->getParent()->getNumVBases()) { in IsConstructorDelegationValid()
756 if (Ctor->getType()->castAs<FunctionProtoType>()->isVariadic()) in IsConstructorDelegationValid()
760 if (Ctor->isDelegatingConstructor()) in IsConstructorDelegationValid()
833 const CXXConstructorDecl *Ctor = cast<CXXConstructorDecl>(CurGD.getDecl()); in EmitConstructorBody() local
842 if (CtorType == Ctor_Complete && IsConstructorDelegationValid(Ctor) && in EmitConstructorBody()
844 EmitDelegateCXXConstructorCall(Ctor, Ctor_Base, Args, Ctor->getEndLoc()); in EmitConstructorBody()
849 Stmt *Body = Ctor->getBody(Definition); in EmitConstructorBody()
850 assert(Definition == Ctor && "emitting wrong constructor body"); in EmitConstructorBody()
868 EmitCtorPrologue(Ctor, CtorType, Args); in EmitConstructorBody()
2162 const CXXConstructorDecl *Ctor, in canEmitDelegateCallArgs() argument
2165 if (Ctor->isVariadic()) in canEmitDelegateCallArgs()
2170 for (auto *P : Ctor->parameters()) in canEmitDelegateCallArgs()
2176 CGF.CGM.getTypes().arrangeCXXConstructorCall(Args, Ctor, Type, 0, 0); in canEmitDelegateCallArgs()
2310 const CXXConstructorDecl *Ctor, CXXCtorType CtorType, bool ForVirtualBase, in EmitInlinedInheritingCXXConstructorCall() argument
2312 GlobalDecl GD(Ctor, CtorType); in EmitInlinedInheritingCXXConstructorCall()
2325 CGM.getCXXABI().addImplicitConstructorArgs(*this, Ctor, CtorType, in EmitInlinedInheritingCXXConstructorCall()
2351 EmitCtorPrologue(Ctor, CtorType, Params); in EmitInlinedInheritingCXXConstructorCall()
2410 CodeGenFunction::EmitDelegateCXXConstructorCall(const CXXConstructorDecl *Ctor, in EmitDelegateCXXConstructorCall() argument
2440 EmitCXXConstructorCall(Ctor, CtorType, /*ForVirtualBase=*/false, in EmitDelegateCXXConstructorCall()
2467 CodeGenFunction::EmitDelegatingCXXConstructorCall(const CXXConstructorDecl *Ctor, in EmitDelegatingCXXConstructorCall() argument
2469 assert(Ctor->isDelegatingConstructor()); in EmitDelegatingCXXConstructorCall()
2483 EmitAggExpr(Ctor->init_begin()[0]->getInit(), AggSlot); in EmitDelegatingCXXConstructorCall()
2485 const CXXRecordDecl *ClassDecl = Ctor->getParent(); in EmitDelegatingCXXConstructorCall()