Lines Matching defs:ctor
47 // in many calling conventions, so only bail out if the ctor's
180 // We don't need to emit the complete ctor if the class is abstract.
190 void CodeGenModule::EmitCXXConstructor(const CXXConstructorDecl *ctor,
196 !ctor->getParent()->getNumVBases() &&
197 !TryEmitDefinitionAsAlias(GlobalDecl(ctor, Ctor_Complete),
198 GlobalDecl(ctor, Ctor_Base)))
202 getTypes().arrangeCXXConstructorDeclaration(ctor, ctorType);
205 cast<llvm::Function>(GetAddrOfCXXConstructor(ctor, ctorType, &fnInfo));
206 setFunctionLinkage(ctor, fn);
208 CodeGenFunction(*this).GenerateCode(GlobalDecl(ctor, ctorType), fn, fnInfo);
210 SetFunctionDefinitionAttributes(ctor, fn);
211 SetLLVMFunctionAttributesForDefinition(ctor, fn);
215 CodeGenModule::GetAddrOfCXXConstructor(const CXXConstructorDecl *ctor,
218 GlobalDecl GD(ctor, ctorType);
225 fnInfo = &getTypes().arrangeCXXConstructorDeclaration(ctor, ctorType);