Lines Matching refs:Ctor

4521   CXXConstructorDecl *Ctor;  member
4528 BaseAndFieldInfo(Sema &S, CXXConstructorDecl *Ctor, bool ErrorsInInits) in BaseAndFieldInfo()
4529 : S(S), Ctor(Ctor), AnyErrorsInInits(ErrorsInInits) { in BaseAndFieldInfo()
4530 bool Generated = Ctor->isImplicit() || Ctor->isDefaulted(); in BaseAndFieldInfo()
4531 if (Ctor->getInheritedConstructor()) in BaseAndFieldInfo()
4533 else if (Generated && Ctor->isCopyConstructor()) in BaseAndFieldInfo()
4535 else if (Generated && Ctor->isMoveConstructor()) in BaseAndFieldInfo()
4652 SemaRef.BuildCXXDefaultInitExpr(Info.Ctor->getLocation(), Field); in CollectFieldInitializer()
4682 if (BuildImplicitMemberInitializer(Info.S, Info.Ctor, Info.IIK, Field, in CollectFieldInitializer()
5728 auto *Ctor = dyn_cast<CXXConstructorDecl>(MD); in checkClassLevelDLLAttribute() local
5730 (Ctor && Ctor->isMoveConstructor())) && in checkClassLevelDLLAttribute()
5737 (Ctor || isa<CXXDestructorDecl>(MD)) && MD->isTrivial()) in checkClassLevelDLLAttribute()
6288 findConstructorForBase(CXXRecordDecl *Base, CXXConstructorDecl *Ctor) const { in findConstructorForBase()
6296 S.findInheritingConstructor(UseLoc, Ctor, It->second), in findConstructorForBase()
6300 return std::make_pair(Ctor, false); in findConstructorForBase()
6345 bool Ctor = true; in defaultedSpecialMemberIsConstexpr() local
6368 Ctor = false; in defaultedSpecialMemberIsConstexpr()
6383 if (Ctor && ClassDecl->isUnion()) in defaultedSpecialMemberIsConstexpr()
6390 if (Ctor && ClassDecl->getNumVBases()) in defaultedSpecialMemberIsConstexpr()
6395 if (!Ctor && !ClassDecl->isLiteral()) in defaultedSpecialMemberIsConstexpr()
9285 bool Sema::isInitListConstructor(const FunctionDecl *Ctor) { in isInitListConstructor() argument
9291 if (Ctor->getNumParams() < 1 || in isInitListConstructor()
9292 (Ctor->getNumParams() > 1 && !Ctor->getParamDecl(1)->hasDefaultArg())) in isInitListConstructor()
9295 QualType ArgType = Ctor->getParamDecl(0)->getType(); in isInitListConstructor()
10095 for (auto *Ctor : LookupConstructors(RD)) in BuildUsingDeclaration() local
10096 R.addDecl(Ctor); in BuildUsingDeclaration()
11055 for (NamedDecl *Ctor : Derived->lookup(Name)) in findInheritingConstructor()
11056 if (declaresSameEntity(cast<CXXConstructorDecl>(Ctor) in findInheritingConstructor()
11060 return cast<CXXConstructorDecl>(Ctor); in findInheritingConstructor()
11122 void Sema::NoteDeletedInheritingConstructor(CXXConstructorDecl *Ctor) { in NoteDeletedInheritingConstructor() argument
11123 InheritedConstructorInfo ICI(*this, Ctor->getLocation(), in NoteDeletedInheritingConstructor()
11124 Ctor->getInheritedConstructor().getShadowDecl()); in NoteDeletedInheritingConstructor()
11125 ShouldDeleteSpecialMember(Ctor, CXXDefaultConstructor, &ICI, in NoteDeletedInheritingConstructor()
15246 void DelegatingCycleHelper(CXXConstructorDecl* Ctor, in DelegatingCycleHelper() argument
15251 if (Ctor->isInvalidDecl()) in DelegatingCycleHelper()
15254 CXXConstructorDecl *Target = Ctor->getTargetConstructor(); in DelegatingCycleHelper()
15265 CXXConstructorDecl *Canonical = Ctor->getCanonicalDecl(), in DelegatingCycleHelper()
15282 S.Diag((*Ctor->init_begin())->getSourceLocation(), in DelegatingCycleHelper()
15284 << Ctor; in DelegatingCycleHelper()