Lines Matching defs:CXXConstructorDecl

644   if (isa<CXXConstructorDecl>(New) &&
1744 PD->getSourceRange(), isa<CXXConstructorDecl>(FD),
1803 << isa<CXXConstructorDecl>(NewFD)
1812 if (!isa<CXXConstructorDecl>(NewFD)) {
1908 << isa<CXXConstructorDecl>(Dcl);
1924 << isa<CXXConstructorDecl>(Dcl);
1952 << isa<CXXConstructorDecl>(Dcl)
1961 isa<CXXConstructorDecl>(Dcl),
1966 isa<CXXConstructorDecl>(Dcl))) {
1977 << isa<CXXConstructorDecl>(Dcl);
1989 << isa<CXXConstructorDecl>(Dcl);
2007 << isa<CXXConstructorDecl>(Dcl) << Dcl->isConsteval();
2108 if (isa<CXXConstructorDecl>(Dcl)) {
2237 << isa<CXXConstructorDecl>(Dcl) << Dcl->isConsteval();
2276 << isa<CXXConstructorDecl>(Dcl);
2306 << isa<CXXConstructorDecl>(Dcl);
2312 << isa<CXXConstructorDecl>(Dcl);
2318 << isa<CXXConstructorDecl>(Dcl);
2321 if (const CXXConstructorDecl *Constructor
2322 = dyn_cast<CXXConstructorDecl>(Dcl)) {
2445 << isa<CXXConstructorDecl>(Dcl) << Dcl->isConsteval()
2510 CXXConstructorDecl *CurrentConstructor = nullptr;
2515 ImmediateFnIsConstructor(isa<CXXConstructorDecl>(FD)) {}
2533 << isa<CXXConstructorDecl>(Fn) << ImmediateFnIsConstructor
2564 CXXConstructorDecl *D = E->getConstructor();
2577 bool TraverseCXXConstructorDecl(CXXConstructorDecl *Ctr) {
3637 const CXXConstructorDecl *Constructor;
3833 void CheckInitializer(Expr *E, const CXXConstructorDecl *FieldConstructor,
3963 Sema &SemaRef, const CXXConstructorDecl *Constructor) {
4301 CXXConstructorDecl *Constructor
4302 = dyn_cast<CXXConstructorDecl>(ConstructorD);
4783 BuildImplicitBaseInitializer(Sema &SemaRef, CXXConstructorDecl *Constructor,
4866 BuildImplicitMemberInitializer(Sema &SemaRef, CXXConstructorDecl *Constructor,
5027 CXXConstructorDecl *Ctor;
5034 BaseAndFieldInfo(Sema &S, CXXConstructorDecl *Ctor, bool ErrorsInInits)
5199 Sema::SetDelegatingInitializer(CXXConstructorDecl *Constructor,
5220 bool Sema::SetCtorInitializers(CXXConstructorDecl *Constructor, bool AnyErrors,
5435 Sema &SemaRef, const CXXConstructorDecl *Constructor,
5638 CXXConstructorDecl *Constructor
5639 = dyn_cast<CXXConstructorDecl>(ConstructorDecl);
5844 if (CXXConstructorDecl *Constructor
5845 = dyn_cast<CXXConstructorDecl>(CDtorDecl)) {
6179 auto *CD = dyn_cast<CXXConstructorDecl>(MD);
6221 CXXConstructorDecl *LastExportedDefaultCtor = nullptr;
6224 auto *CD = dyn_cast<CXXConstructorDecl>(Member);
6487 auto *Ctor = dyn_cast<CXXConstructorDecl>(MD);
6613 if (const CXXConstructorDecl *Ctor = dyn_cast<CXXConstructorDecl>(FD)) {
6673 cast<CXXConstructorDecl>(FD));
6676 S.DefineImplicitCopyConstructor(DefaultLoc, cast<CXXConstructorDecl>(FD));
6685 S.DefineImplicitMoveConstructor(DefaultLoc, cast<CXXConstructorDecl>(FD));
6726 for (const CXXConstructorDecl *CD : D->ctors()) {
6797 auto *CD = dyn_cast<CXXConstructorDecl>(MD);
7291 std::pair<CXXConstructorDecl *, bool>
7292 findConstructorForBase(CXXRecordDecl *Base, CXXConstructorDecl *Ctor) const {
7312 bool ConstRHS, CXXConstructorDecl *InheritedCtor = nullptr,
7347 CXXConstructorDecl *InheritedCtor = nullptr,
7497 auto *CD = cast<CXXConstructorDecl>(FD);
7739 : isa<CXXConstructorDecl>(MD))) &&
9204 cast<CXXConstructorDecl>(MD)->getInheritedConstructor().getConstructor();
9802 CXXConstructorDecl *DefCtor = nullptr;
9905 static CXXConstructorDecl *findUserDeclaredCtor(CXXRecordDecl *RD) {
9913 if (CXXConstructorDecl *CD =
9914 dyn_cast<CXXConstructorDecl>(TI->getTemplatedDecl()))
9955 if (CXXConstructorDecl *CD = findUserDeclaredCtor(SubRD))
10357 for (const CXXConstructorDecl *CD : RD.ctors())
10719 if (CXXConstructorDecl *Constructor = dyn_cast<CXXConstructorDecl>(Method))
10808 void Sema::CheckConstructor(CXXConstructorDecl *Constructor) {
12541 if (NonTemplateTarget && isa<CXXConstructorDecl>(NonTemplateTarget)) {
13826 CXXConstructorDecl *Sema::DeclareImplicitDefaultConstructor(
13852 CXXConstructorDecl *DefaultCon = CXXConstructorDecl::Create(
13892 CXXConstructorDecl *Constructor) {
13942 CXXConstructorDecl *
13944 CXXConstructorDecl *BaseCtor,
13957 if (declaresSameEntity(cast<CXXConstructorDecl>(Ctor)
13961 return cast<CXXConstructorDecl>(Ctor);
13978 CXXConstructorDecl *DerivedCtor = CXXConstructorDecl::Create(
14027 void Sema::NoteDeletedInheritingConstructor(CXXConstructorDecl *Ctor) {
14036 CXXConstructorDecl *Constructor) {
14059 CXXConstructorDecl *InheritedCtor =
14840 } else if (!isa<CXXConstructorDecl>(CopyOp) &&
14850 } else if (isa<CXXConstructorDecl>(CopyOp) &&
14865 bool IsCopyAssignment = !isa<CXXConstructorDecl>(CopyOp);
15491 CXXConstructorDecl *Sema::DeclareImplicitCopyConstructor(
15528 CXXConstructorDecl *CopyConstructor = CXXConstructorDecl::Create(
15594 CXXConstructorDecl *CopyConstructor) {
15642 CXXConstructorDecl *Sema::DeclareImplicitMoveConstructor(
15673 CXXConstructorDecl *MoveConstructor = CXXConstructorDecl::Create(
15733 CXXConstructorDecl *MoveConstructor) {
15918 CXXConstructorDecl *Constructor, MultiExprArg ExprArgs,
15960 CXXConstructorDecl *Constructor, bool Elidable, MultiExprArg ExprArgs,
15983 CXXConstructorDecl *Constructor, bool Elidable, MultiExprArg ExprArgs,
16067 bool Sema::CompleteConstructorCall(CXXConstructorDecl *Constructor,
17998 (!isa<CXXConstructorDecl>(FD) &&
18637 void DelegatingCycleHelper(CXXConstructorDecl* Ctor,
18638 llvm::SmallPtrSet<CXXConstructorDecl*, 4> &Valid,
18639 llvm::SmallPtrSet<CXXConstructorDecl*, 4> &Invalid,
18640 llvm::SmallPtrSet<CXXConstructorDecl*, 4> &Current,
18645 CXXConstructorDecl *Target = Ctor->getTargetConstructor();
18652 Target = const_cast<CXXConstructorDecl*>(
18653 cast_or_null<CXXConstructorDecl>(FNTarget));
18656 CXXConstructorDecl *Canonical = Ctor->getCanonicalDecl(),
18681 CXXConstructorDecl *C = Target;
18687 C = const_cast<CXXConstructorDecl*>(
18688 cast<CXXConstructorDecl>(FNTarget));
18702 llvm::SmallPtrSet<CXXConstructorDecl*, 4> Valid, Invalid, Current;