Lines Matching refs:CXXConstructorDecl

618   if (isa<CXXConstructorDecl>(New) &&  in MergeCXXFunctionDecl()
777 isa<CXXConstructorDecl>(FD))) in CheckConstexprParameterTypes()
813 << isa<CXXConstructorDecl>(NewFD) in CheckConstexprFunctionDecl()
822 if (!isa<CXXConstructorDecl>(NewFD)) { in CheckConstexprFunctionDecl()
891 << isa<CXXConstructorDecl>(Dcl); in CheckConstexprDeclStmt()
905 << isa<CXXConstructorDecl>(Dcl); in CheckConstexprDeclStmt()
924 << isa<CXXConstructorDecl>(Dcl) in CheckConstexprDeclStmt()
932 isa<CXXConstructorDecl>(Dcl))) in CheckConstexprDeclStmt()
938 << isa<CXXConstructorDecl>(Dcl); in CheckConstexprDeclStmt()
946 << isa<CXXConstructorDecl>(Dcl); in CheckConstexprDeclStmt()
960 << isa<CXXConstructorDecl>(Dcl); in CheckConstexprDeclStmt()
1036 if (isa<CXXConstructorDecl>(Dcl)) { in CheckConstexprFunctionStmt()
1125 << isa<CXXConstructorDecl>(Dcl); in CheckConstexprFunctionStmt()
1145 << isa<CXXConstructorDecl>(Dcl); in CheckConstexprFunctionBody()
1165 << isa<CXXConstructorDecl>(Dcl); in CheckConstexprFunctionBody()
1167 if (const CXXConstructorDecl *Constructor in CheckConstexprFunctionBody()
1168 = dyn_cast<CXXConstructorDecl>(Dcl)) { in CheckConstexprFunctionBody()
1258 << isa<CXXConstructorDecl>(Dcl); in CheckConstexprFunctionBody()
2286 const CXXConstructorDecl *Constructor;
2481 void CheckInitializer(Expr *E, const CXXConstructorDecl *FieldConstructor, in CheckInitializer()
2616 Sema &SemaRef, const CXXConstructorDecl *Constructor) { in DiagnoseUninitializedFields()
2867 CXXConstructorDecl *Constructor in BuildMemInitializer()
2868 = dyn_cast<CXXConstructorDecl>(ConstructorD); in BuildMemInitializer()
3347 BuildImplicitBaseInitializer(Sema &SemaRef, CXXConstructorDecl *Constructor, in BuildImplicitBaseInitializer()
3430 BuildImplicitMemberInitializer(Sema &SemaRef, CXXConstructorDecl *Constructor, in BuildImplicitMemberInitializer()
3660 CXXConstructorDecl *Ctor;
3667 BaseAndFieldInfo(Sema &S, CXXConstructorDecl *Ctor, bool ErrorsInInits) in BaseAndFieldInfo()
3828 Sema::SetDelegatingInitializer(CXXConstructorDecl *Constructor, in SetDelegatingInitializer()
3849 bool Sema::SetCtorInitializers(CXXConstructorDecl *Constructor, bool AnyErrors, in SetCtorInitializers()
4050 Sema &SemaRef, const CXXConstructorDecl *Constructor, in DiagnoseBaseOrMemInitializerOrder()
4216 CXXConstructorDecl *Constructor in ActOnMemInitializers()
4217 = dyn_cast<CXXConstructorDecl>(ConstructorDecl); in ActOnMemInitializers()
4392 if (CXXConstructorDecl *Constructor in ActOnDefaultCtorInitializers()
4393 = dyn_cast<CXXConstructorDecl>(CDtorDecl)) { in ActOnDefaultCtorInitializers()
4787 auto *Ctor = dyn_cast<CXXConstructorDecl>(MD); in checkClassLevelDLLAttribute()
4876 cast<CXXConstructorDecl>(MD)); in DefineImplicitSpecialMember()
4879 S.DefineImplicitCopyConstructor(DefaultLoc, cast<CXXConstructorDecl>(MD)); in DefineImplicitSpecialMember()
4888 S.DefineImplicitMoveConstructor(DefaultLoc, cast<CXXConstructorDecl>(MD)); in DefineImplicitSpecialMember()
5138 std::pair<CXXConstructorDecl *, bool>
5139 findConstructorForBase(CXXRecordDecl *Base, CXXConstructorDecl *Ctor) const { in findConstructorForBase()
5161 CXXConstructorDecl *InheritedCtor = nullptr, in specialMemberIsConstexpr()
5189 bool ConstArg, CXXConstructorDecl *InheritedCtor = nullptr, in defaultedSpecialMemberIsConstexpr()
5309 assert(cast<CXXConstructorDecl>(MD)->getInheritedConstructor() && in computeImplicitExceptionSpec()
5312 cast<CXXConstructorDecl>(MD)); in computeImplicitExceptionSpec()
5459 : isa<CXXConstructorDecl>(MD)) && in CheckExplicitlyDefaultedSpecialMember()
5768 ICI->findConstructorForBase(BaseClass, cast<CXXConstructorDecl>(MD) in shouldDeleteForBase()
6061 CXXConstructorDecl *DefCtor = nullptr; in findTrivialSpecialMember()
6155 static CXXConstructorDecl *findUserDeclaredCtor(CXXRecordDecl *RD) { in findUserDeclaredCtor()
6163 if (CXXConstructorDecl *CD = in findUserDeclaredCtor()
6164 dyn_cast<CXXConstructorDecl>(TI->getTemplatedDecl())) in findUserDeclaredCtor()
6204 if (CXXConstructorDecl *CD = findUserDeclaredCtor(SubRD)) in checkTrivialSubobjectCall()
6792 if (CXXConstructorDecl *Constructor = dyn_cast<CXXConstructorDecl>(Method)) in ActOnFinishDelayedCXXMethodDeclaration()
6880 void Sema::CheckConstructor(CXXConstructorDecl *Constructor) { in CheckConstructor()
7631 bool Sema::isInitListConstructor(const CXXConstructorDecl* Ctor) { in isInitListConstructor()
8057 if (isa<CXXConstructorDecl>(NonTemplateTarget)) { in BuildUsingShadowDecl()
8991 CXXConstructorDecl *Constructor = LookupDefaultConstructor(BaseClassDecl); in ComputeDefaultedDefaultCtorExceptionSpec()
9003 CXXConstructorDecl *Constructor = LookupDefaultConstructor(BaseClassDecl); in ComputeDefaultedDefaultCtorExceptionSpec()
9019 CXXConstructorDecl *Constructor = LookupDefaultConstructor(FieldRecDecl); in ComputeDefaultedDefaultCtorExceptionSpec()
9035 CXXConstructorDecl *CD) { in ComputeInheritingCtorExceptionSpec()
9059 CXXConstructorDecl *Constructor = in ComputeInheritingCtorExceptionSpec()
9077 CXXConstructorDecl *Constructor = LookupDefaultConstructor(FieldRecDecl); in ComputeInheritingCtorExceptionSpec()
9132 CXXConstructorDecl *Sema::DeclareImplicitDefaultConstructor( in DeclareImplicitDefaultConstructor()
9158 CXXConstructorDecl *DefaultCon = CXXConstructorDecl::Create( in DeclareImplicitDefaultConstructor()
9197 CXXConstructorDecl *Constructor) { in DefineImplicitDefaultConstructor()
9243 CXXConstructorDecl *
9245 CXXConstructorDecl *BaseCtor, in findInheritingConstructor()
9258 if (declaresSameEntity(cast<CXXConstructorDecl>(Ctor) in findInheritingConstructor()
9262 return cast<CXXConstructorDecl>(Ctor); in findInheritingConstructor()
9279 CXXConstructorDecl *DerivedCtor = CXXConstructorDecl::Create( in findInheritingConstructor()
9324 void Sema::NoteDeletedInheritingConstructor(CXXConstructorDecl *Ctor) { in NoteDeletedInheritingConstructor()
9332 CXXConstructorDecl *Constructor) { in DefineInheritingConstructor()
9342 CXXConstructorDecl *InheritedCtor = in DefineInheritingConstructor()
9573 CXXConstructorDecl *LastExportedDefaultCtor = nullptr; in getDefaultArgExprsForConstructors()
9575 auto *CD = dyn_cast<CXXConstructorDecl>(Member); in getDefaultArgExprsForConstructors()
10238 } else if (!isa<CXXConstructorDecl>(CopyOp) && in diagnoseDeprecatedCopyOperation()
10249 } else if (isa<CXXConstructorDecl>(CopyOp) && in diagnoseDeprecatedCopyOperation()
10265 << RD << /*copy assignment*/!isa<CXXConstructorDecl>(CopyOp) in diagnoseDeprecatedCopyOperation()
10268 << (isa<CXXConstructorDecl>(CopyOp) ? Sema::CXXCopyConstructor in diagnoseDeprecatedCopyOperation()
10950 if (CXXConstructorDecl *CopyConstructor = in ComputeDefaultedCopyCtorExceptionSpec()
10957 if (CXXConstructorDecl *CopyConstructor = in ComputeDefaultedCopyCtorExceptionSpec()
10964 if (CXXConstructorDecl *CopyConstructor = in ComputeDefaultedCopyCtorExceptionSpec()
10974 CXXConstructorDecl *Sema::DeclareImplicitCopyConstructor( in DeclareImplicitCopyConstructor()
11004 CXXConstructorDecl *CopyConstructor = CXXConstructorDecl::Create( in DeclareImplicitCopyConstructor()
11054 CXXConstructorDecl *CopyConstructor) { in DefineImplicitCopyConstructor()
11119 CXXConstructorDecl *Constructor = in ComputeDefaultedMoveCtorExceptionSpec()
11132 CXXConstructorDecl *Constructor = in ComputeDefaultedMoveCtorExceptionSpec()
11145 CXXConstructorDecl *Constructor = in ComputeDefaultedMoveCtorExceptionSpec()
11160 CXXConstructorDecl *Sema::DeclareImplicitMoveConstructor( in DeclareImplicitMoveConstructor()
11184 CXXConstructorDecl *MoveConstructor = CXXConstructorDecl::Create( in DeclareImplicitMoveConstructor()
11236 CXXConstructorDecl *MoveConstructor) { in DefineImplicitMoveConstructor()
11434 CXXConstructorDecl *Constructor, in BuildCXXConstructExpr()
11472 CXXConstructorDecl *Constructor, in BuildCXXConstructExpr()
11497 CXXConstructorDecl *Constructor, in BuildCXXConstructExpr()
11615 Sema::CompleteConstructorCall(CXXConstructorDecl *Constructor, in CompleteConstructorCall()
13639 void DelegatingCycleHelper(CXXConstructorDecl* Ctor, in DelegatingCycleHelper()
13640 llvm::SmallSet<CXXConstructorDecl*, 4> &Valid, in DelegatingCycleHelper() argument
13641 llvm::SmallSet<CXXConstructorDecl*, 4> &Invalid, in DelegatingCycleHelper()
13642 llvm::SmallSet<CXXConstructorDecl*, 4> &Current, in DelegatingCycleHelper()
13647 CXXConstructorDecl *Target = Ctor->getTargetConstructor(); in DelegatingCycleHelper()
13654 Target = const_cast<CXXConstructorDecl*>( in DelegatingCycleHelper()
13655 cast_or_null<CXXConstructorDecl>(FNTarget)); in DelegatingCycleHelper()
13658 CXXConstructorDecl *Canonical = Ctor->getCanonicalDecl(), in DelegatingCycleHelper()
13683 CXXConstructorDecl *C = Target; in DelegatingCycleHelper()
13689 C = const_cast<CXXConstructorDecl*>( in DelegatingCycleHelper()
13690 cast<CXXConstructorDecl>(FNTarget)); in DelegatingCycleHelper()
13704 llvm::SmallSet<CXXConstructorDecl*, 4> Valid, Invalid, Current; in CheckDelegatingCtorCycles()
13712 for (llvm::SmallSet<CXXConstructorDecl *, 4>::iterator CI = Invalid.begin(), in CheckDelegatingCtorCycles()