Lines Matching defs:Constructor
1148 if (CXXConstructorDecl *Constructor
1154 if (Constructor->isCopyConstructor() &&
1162 ICS.Standard.CopyConstructor = Constructor;
2929 CXXConstructorDecl *Constructor,
2932 Constructor->getType()->getAs<FunctionProtoType>();
2954 CXXConstructorDecl *Constructor = nullptr;
2958 Constructor
2961 Constructor = cast<CXXConstructorDecl>(D);
2963 bool Usable = !Constructor->isInvalidDecl() &&
2964 S.isInitListConstructor(Constructor) &&
2965 (AllowExplicit || !Constructor->isExplicit());
2970 isFirstArgumentCompatibleWithType(S.Context, Constructor, ToType);
2977 S.AddOverloadCandidate(Constructor, FoundDecl,
2989 CXXConstructorDecl *Constructor = cast<CXXConstructorDecl>(Best->Function);
2990 QualType ThisType = Constructor->getThisType(S.Context);
2994 User.ConversionFunction = Constructor;
3089 CXXConstructorDecl *Constructor = nullptr;
3093 Constructor
3096 Constructor = cast<CXXConstructorDecl>(D);
3098 bool Usable = !Constructor->isInvalidDecl();
3100 Usable = Usable && (AllowExplicit || !Constructor->isExplicit());
3102 Usable = Usable &&Constructor->isConvertingConstructor(AllowExplicit);
3111 S.Context, Constructor, ToType);
3122 S.AddOverloadCandidate(Constructor, FoundDecl,
3178 if (CXXConstructorDecl *Constructor
3186 QualType ThisType = Constructor->getThisType(S.Context);
3199 User.ConversionFunction = Constructor;
5579 CXXConstructorDecl *Constructor = dyn_cast<CXXConstructorDecl>(Function);
5580 if (Constructor && Constructor->isDefaulted() && Constructor->isDeleted() &&
5581 Constructor->isMoveConstructor())
5587 if (Constructor) {
5591 QualType ClassType = Context.getTypeDeclType(Constructor->getParent());
5593 Constructor->isSpecializationCopyingObject() &&