Lines Matching defs:Constructor
1619 if (CXXConstructorDecl *Constructor
1625 if (Constructor->isCopyConstructor() &&
1635 ICS.Standard.CopyConstructor = Constructor;
3639 CXXConstructorDecl *Constructor,
3641 const auto *CtorType = Constructor->getType()->castAs<FunctionProtoType>();
3662 bool Usable = !Info.Constructor->isInvalidDecl() &&
3663 S.isInitListConstructor(Info.Constructor);
3673 S.AddOverloadCandidate(Info.Constructor, Info.FoundDecl, From,
3687 CXXConstructorDecl *Constructor = cast<CXXConstructorDecl>(Best->Function);
3688 QualType ThisType = Constructor->getFunctionObjectParameterType();
3692 User.ConversionFunction = Constructor;
3783 bool Usable = !Info.Constructor->isInvalidDecl();
3785 Usable = Usable && Info.Constructor->isConvertingConstructor(
3799 isFirstArgumentCompatibleWithType(S.Context, Info.Constructor,
3812 S.AddOverloadCandidate(Info.Constructor, Info.FoundDecl,
3867 if (CXXConstructorDecl *Constructor
3887 User.ConversionFunction = Constructor;
3890 User.After.setFromType(Constructor->getFunctionObjectParameterType());
6832 CXXConstructorDecl *Constructor = dyn_cast<CXXConstructorDecl>(Function);
6833 if (Constructor && Constructor->isDefaulted() && Constructor->isDeleted() &&
6834 Constructor->isMoveConstructor())
6896 if (Constructor) {
6900 QualType ClassType = Context.getTypeDeclType(Constructor->getParent());
6901 if (Args.size() == 1 && Constructor->isSpecializationCopyingObject() &&
6918 if (Shadow && Args.size() == 1 && Constructor->getNumParams() >= 1 &&
6919 Constructor->getParamDecl(0)->getType()->isReferenceType()) {
6920 QualType P = Constructor->getParamDecl(0)->getType()->getPointeeType();
6921 QualType C = Context.getRecordType(Constructor->getParent());
6935 Constructor->getMethodQualifiers().getAddressSpace(),