Lines Matching refs:Constructor

3981     DeclAccessPair FoundDecl, CXXConstructorDecl *Constructor, QualType T,  in AddConstructorInitializationStep()  argument
3989 S.Function.Function = Constructor; in AddConstructorInitializationStep()
4216 if (Info.Constructor->getNumParams() == 0) in hasCopyOrMoveCtorParam()
4220 Info.Constructor->getParamDecl(0)->getType().getNonReferenceType(); in hasCopyOrMoveCtorParam()
4239 if (!Info.Constructor || Info.Constructor->isInvalidDecl()) in ResolveConstructorOverload()
4242 if (OnlyListConstructors && !S.isInitListConstructor(Info.Constructor)) in ResolveConstructorOverload()
4277 S.AddOverloadCandidate(Info.Constructor, Info.FoundDecl, Args, in ResolveConstructorOverload()
4920 if (!Info.Constructor) in TryRefInitWithConversionFunction()
4923 if (!Info.Constructor->isInvalidDecl() && in TryRefInitWithConversionFunction()
4924 Info.Constructor->isConvertingConstructor(/*AllowExplicit*/true)) { in TryRefInitWithConversionFunction()
4933 Info.Constructor, Info.FoundDecl, Initializer, CandidateSet, in TryRefInitWithConversionFunction()
5845 if (!Info.Constructor) in TryUserDefinedConversion()
5848 if (!Info.Constructor->isInvalidDecl() && in TryUserDefinedConversion()
5849 Info.Constructor->isConvertingConstructor(/*AllowExplicit*/true)) { in TryUserDefinedConversion()
5857 S.AddOverloadCandidate(Info.Constructor, Info.FoundDecl, in TryUserDefinedConversion()
6967 CXXConstructorDecl *Constructor = cast<CXXConstructorDecl>(Best->Function); in CopyObject() local
6971 S.CheckConstructorAccess(Loc, Constructor, Best->FoundDecl, Entity, in CopyObject()
6985 for (unsigned I = 1, N = Constructor->getNumParams(); I != N; ++I) { in CopyObject()
6986 ParmVarDecl *Parm = Constructor->getParamDecl(I); in CopyObject()
6994 S.BuildCXXDefaultArgExpr(Loc, Constructor, Parm); in CopyObject()
7003 if (S.CompleteConstructorCall(Constructor, T, CurInitExpr, Loc, in CopyObject()
7034 Loc, T, Best->FoundDecl, Constructor, Elidable, ConstructorArgs, in CopyObject()
7161 CXXConstructorDecl *Constructor in PerformConstructorInitialization() local
7175 assert(Constructor->getParent() && "No parent class for constructor."); in PerformConstructorInitialization()
7176 if (Constructor->isDefaulted() && Constructor->isDefaultConstructor() && in PerformConstructorInitialization()
7177 Constructor->isTrivial() && !Constructor->isUsed(false)) { in PerformConstructorInitialization()
7179 S.DefineImplicitDefaultConstructor(Loc, Constructor); in PerformConstructorInitialization()
7204 if (S.CompleteConstructorCall(Constructor, Step.Type, Args, Loc, in PerformConstructorInitialization()
7222 CXXConstructorDecl *CalleeDecl = Constructor; in PerformConstructorInitialization()
7225 CalleeDecl = S.findInheritingConstructor(Loc, Constructor, Shadow); in PerformConstructorInitialization()
7261 Constructor, /*Elidable=*/true, in PerformConstructorInitialization()
7272 Constructor, in PerformConstructorInitialization()
7285 S.CheckConstructorAccess(Loc, Constructor, Step.Function.FoundDecl, Entity); in PerformConstructorInitialization()
7829 if (CXXConstructorDecl *Constructor = dyn_cast<CXXConstructorDecl>(Fn)) { in Perform() local
7837 if (S.CompleteConstructorCall(Constructor, Step->Type, in Perform()
7844 Loc, Step->Type, FoundFn, Constructor, ConstructorArgs, in Perform()
7852 S.CheckConstructorAccess(Kind.getLocation(), Constructor, FoundFn, in Perform()
8923 CXXConstructorDecl *Constructor in Diagnose() local
8926 if (auto Inherited = Constructor->getInheritedConstructor()) in Diagnose()
8930 << (InheritedFrom ? 2 : Constructor->isImplicit() ? 1 : 0) in Diagnose()
8931 << S.Context.getTypeDeclType(Constructor->getParent()) in Diagnose()
8943 << (InheritedFrom ? 2 : Constructor->isImplicit() ? 1 : 0) in Diagnose()
8944 << S.Context.getTypeDeclType(Constructor->getParent()) in Diagnose()
9010 CXXConstructorDecl *Constructor = cast<CXXConstructorDecl>(S.CurContext); in Diagnose() local
9012 << (Constructor->getInheritedConstructor() ? 2 : in Diagnose()
9013 Constructor->isImplicit() ? 1 : 0) in Diagnose()
9014 << S.Context.getTypeDeclType(Constructor->getParent()) in Diagnose()