Lines Matching defs:Ctor
731 const CXXConstructorDecl *Ctor) {
745 if (Ctor->getParent()->getNumVBases()) {
765 if (Ctor->getType()->castAs<FunctionProtoType>()->isVariadic())
769 if (Ctor->isDelegatingConstructor())
842 const CXXConstructorDecl *Ctor = cast<CXXConstructorDecl>(CurGD.getDecl());
851 if (CtorType == Ctor_Complete && IsConstructorDelegationValid(Ctor) &&
853 EmitDelegateCXXConstructorCall(Ctor, Ctor_Base, Args, Ctor->getEndLoc());
858 Stmt *Body = Ctor->getBody(Definition);
859 assert(Definition == Ctor && "emitting wrong constructor body");
877 EmitCtorPrologue(Ctor, CtorType, Args);
2172 const CXXConstructorDecl *Ctor,
2175 if (Ctor->isVariadic())
2180 for (auto *P : Ctor->parameters())
2186 CGF.CGM.getTypes().arrangeCXXConstructorCall(Args, Ctor, Type, 0, 0);
2321 const CXXConstructorDecl *Ctor, CXXCtorType CtorType, bool ForVirtualBase,
2323 GlobalDecl GD(Ctor, CtorType);
2336 CGM.getCXXABI().addImplicitConstructorArgs(*this, Ctor, CtorType,
2362 EmitCtorPrologue(Ctor, CtorType, Params);
2423 CodeGenFunction::EmitDelegateCXXConstructorCall(const CXXConstructorDecl *Ctor,
2455 EmitCXXConstructorCall(Ctor, CtorType, /*ForVirtualBase=*/false,
2482 CodeGenFunction::EmitDelegatingCXXConstructorCall(const CXXConstructorDecl *Ctor,
2484 assert(Ctor->isDelegatingConstructor());
2498 EmitAggExpr(Ctor->init_begin()[0]->getInit(), AggSlot);
2500 const CXXRecordDecl *ClassDecl = Ctor->getParent();