Lines Matching refs:Ctor
731 const CXXConstructorDecl *Ctor) { in IsConstructorDelegationValid() argument
745 if (Ctor->getParent()->getNumVBases()) { in IsConstructorDelegationValid()
765 if (Ctor->getType()->castAs<FunctionProtoType>()->isVariadic()) in IsConstructorDelegationValid()
769 if (Ctor->isDelegatingConstructor()) in IsConstructorDelegationValid()
842 const CXXConstructorDecl *Ctor = cast<CXXConstructorDecl>(CurGD.getDecl()); in EmitConstructorBody() local
851 if (CtorType == Ctor_Complete && IsConstructorDelegationValid(Ctor) && in EmitConstructorBody()
853 EmitDelegateCXXConstructorCall(Ctor, Ctor_Base, Args, Ctor->getEndLoc()); in EmitConstructorBody()
858 Stmt *Body = Ctor->getBody(Definition); in EmitConstructorBody()
859 assert(Definition == Ctor && "emitting wrong constructor body"); in EmitConstructorBody()
876 EmitCtorPrologue(Ctor, CtorType, Args); in EmitConstructorBody()
2105 const CXXConstructorDecl *Ctor, in canEmitDelegateCallArgs() argument
2108 if (Ctor->isVariadic()) in canEmitDelegateCallArgs()
2113 for (auto *P : Ctor->parameters()) in canEmitDelegateCallArgs()
2119 CGF.CGM.getTypes().arrangeCXXConstructorCall(Args, Ctor, Type, 0, 0); in canEmitDelegateCallArgs()
2253 const CXXConstructorDecl *Ctor, CXXCtorType CtorType, bool ForVirtualBase, in EmitInlinedInheritingCXXConstructorCall() argument
2255 GlobalDecl GD(Ctor, CtorType); in EmitInlinedInheritingCXXConstructorCall()
2268 CGM.getCXXABI().addImplicitConstructorArgs(*this, Ctor, CtorType, in EmitInlinedInheritingCXXConstructorCall()
2294 EmitCtorPrologue(Ctor, CtorType, Params); in EmitInlinedInheritingCXXConstructorCall()
2353 CodeGenFunction::EmitDelegateCXXConstructorCall(const CXXConstructorDecl *Ctor, in EmitDelegateCXXConstructorCall() argument
2383 EmitCXXConstructorCall(Ctor, CtorType, /*ForVirtualBase=*/false, in EmitDelegateCXXConstructorCall()
2410 CodeGenFunction::EmitDelegatingCXXConstructorCall(const CXXConstructorDecl *Ctor, in EmitDelegatingCXXConstructorCall() argument
2412 assert(Ctor->isDelegatingConstructor()); in EmitDelegatingCXXConstructorCall()
2426 EmitAggExpr(Ctor->init_begin()[0]->getInit(), AggSlot); in EmitDelegatingCXXConstructorCall()
2428 const CXXRecordDecl *ClassDecl = Ctor->getParent(); in EmitDelegatingCXXConstructorCall()