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()
2283 const CXXConstructorDecl *Constructor;
2478 void CheckInitializer(Expr *E, const CXXConstructorDecl *FieldConstructor, in CheckInitializer()
2613 Sema &SemaRef, const CXXConstructorDecl *Constructor) { in DiagnoseUninitializedFields()
2864 CXXConstructorDecl *Constructor in BuildMemInitializer()
2865 = dyn_cast<CXXConstructorDecl>(ConstructorD); in BuildMemInitializer()
3344 BuildImplicitBaseInitializer(Sema &SemaRef, CXXConstructorDecl *Constructor, in BuildImplicitBaseInitializer()
3454 BuildImplicitMemberInitializer(Sema &SemaRef, CXXConstructorDecl *Constructor, in BuildImplicitMemberInitializer()
3684 CXXConstructorDecl *Ctor;
3691 BaseAndFieldInfo(Sema &S, CXXConstructorDecl *Ctor, bool ErrorsInInits) in BaseAndFieldInfo()
3852 Sema::SetDelegatingInitializer(CXXConstructorDecl *Constructor, in SetDelegatingInitializer()
3873 bool Sema::SetCtorInitializers(CXXConstructorDecl *Constructor, bool AnyErrors, in SetCtorInitializers()
4074 Sema &SemaRef, const CXXConstructorDecl *Constructor, in DiagnoseBaseOrMemInitializerOrder()
4240 CXXConstructorDecl *Constructor in ActOnMemInitializers()
4241 = dyn_cast<CXXConstructorDecl>(ConstructorDecl); in ActOnMemInitializers()
4416 if (CXXConstructorDecl *Constructor in ActOnDefaultCtorInitializers()
4417 = dyn_cast<CXXConstructorDecl>(CDtorDecl)) { in ActOnDefaultCtorInitializers()
5185 assert(cast<CXXConstructorDecl>(MD)->getInheritedConstructor() && in computeImplicitExceptionSpec()
5187 return S.ComputeInheritingCtorExceptionSpec(cast<CXXConstructorDecl>(MD)); in computeImplicitExceptionSpec()
5334 : isa<CXXConstructorDecl>(MD)) && in CheckExplicitlyDefaultedSpecialMember()
5906 CXXConstructorDecl *DefCtor = nullptr; in findTrivialSpecialMember()
6000 static CXXConstructorDecl *findUserDeclaredCtor(CXXRecordDecl *RD) { in findUserDeclaredCtor()
6008 if (CXXConstructorDecl *CD = in findUserDeclaredCtor()
6009 dyn_cast<CXXConstructorDecl>(TI->getTemplatedDecl())) in findUserDeclaredCtor()
6049 if (CXXConstructorDecl *CD = findUserDeclaredCtor(SubRD)) in checkTrivialSubobjectCall()
6629 if (CXXConstructorDecl *Constructor = dyn_cast<CXXConstructorDecl>(Method)) in ActOnFinishDelayedCXXMethodDeclaration()
6717 void Sema::CheckConstructor(CXXConstructorDecl *Constructor) { in CheckConstructor()
7466 bool Sema::isInitListConstructor(const CXXConstructorDecl* Ctor) { in isInitListConstructor()
8745 CXXConstructorDecl *Constructor = LookupDefaultConstructor(BaseClassDecl); in ComputeDefaultedDefaultCtorExceptionSpec()
8757 CXXConstructorDecl *Constructor = LookupDefaultConstructor(BaseClassDecl); in ComputeDefaultedDefaultCtorExceptionSpec()
8773 CXXConstructorDecl *Constructor = LookupDefaultConstructor(FieldRecDecl); in ComputeDefaultedDefaultCtorExceptionSpec()
8788 Sema::ComputeInheritingCtorExceptionSpec(CXXConstructorDecl *CD) { in ComputeInheritingCtorExceptionSpec()
8798 const CXXConstructorDecl *InheritedCD = CD->getInheritedConstructor(); in ComputeInheritingCtorExceptionSpec()
8814 CXXConstructorDecl *Constructor = LookupDefaultConstructor(BaseClassDecl); in ComputeInheritingCtorExceptionSpec()
8826 CXXConstructorDecl *Constructor = LookupDefaultConstructor(BaseClassDecl); in ComputeInheritingCtorExceptionSpec()
8840 CXXConstructorDecl *Constructor = LookupDefaultConstructor(FieldRecDecl); in ComputeInheritingCtorExceptionSpec()
8879 CXXConstructorDecl *Sema::DeclareImplicitDefaultConstructor( in DeclareImplicitDefaultConstructor()
8905 CXXConstructorDecl *DefaultCon = CXXConstructorDecl::Create( in DeclareImplicitDefaultConstructor()
8941 CXXConstructorDecl *Constructor) { in DefineImplicitDefaultConstructor()
9014 const CXXConstructorDecl *BaseCtor;
9017 CXXConstructorDecl *DerivedCtor;
9028 InheritingConstructor &getEntry(Sema &S, const CXXConstructorDecl *Ctor) { in getEntry()
9044 InheritingConstructor &getEntry(const CXXConstructorDecl *Ctor, in getEntry()
9050 typedef void (InheritingConstructorInfo::*VisitFn)(const CXXConstructorDecl*);
9060 if (const CXXConstructorDecl *CD = dyn_cast<CXXConstructorDecl>(FD)) in visitAll()
9066 void noteDeclaredInDerived(const CXXConstructorDecl *Ctor) { in noteDeclaredInDerived()
9071 void inherit(const CXXConstructorDecl *Ctor) { in inherit()
9120 unsigned minParamsToInherit(const CXXConstructorDecl *Ctor) { in minParamsToInherit()
9145 void declareCtor(SourceLocation UsingLoc, const CXXConstructorDecl *BaseCtor, in declareCtor()
9206 CXXConstructorDecl *DerivedCtor = CXXConstructorDecl::Create( in declareCtor()
9286 CXXConstructorDecl *Constructor) { in DefineInheritingConstructor()
9471 auto *CD = dyn_cast<CXXConstructorDecl>(Member); in getDefaultArgExprsForConstructors()
10111 } else if (!isa<CXXConstructorDecl>(CopyOp) && in diagnoseDeprecatedCopyOperation()
10122 } else if (isa<CXXConstructorDecl>(CopyOp) && in diagnoseDeprecatedCopyOperation()
10138 << RD << /*copy assignment*/!isa<CXXConstructorDecl>(CopyOp) in diagnoseDeprecatedCopyOperation()
10141 << (isa<CXXConstructorDecl>(CopyOp) ? Sema::CXXCopyConstructor in diagnoseDeprecatedCopyOperation()
10822 if (CXXConstructorDecl *CopyConstructor = in ComputeDefaultedCopyCtorExceptionSpec()
10829 if (CXXConstructorDecl *CopyConstructor = in ComputeDefaultedCopyCtorExceptionSpec()
10836 if (CXXConstructorDecl *CopyConstructor = in ComputeDefaultedCopyCtorExceptionSpec()
10846 CXXConstructorDecl *Sema::DeclareImplicitCopyConstructor( in DeclareImplicitCopyConstructor()
10876 CXXConstructorDecl *CopyConstructor = CXXConstructorDecl::Create( in DeclareImplicitCopyConstructor()
10923 CXXConstructorDecl *CopyConstructor) { in DefineImplicitCopyConstructor()
10988 CXXConstructorDecl *Constructor = in ComputeDefaultedMoveCtorExceptionSpec()
11001 CXXConstructorDecl *Constructor = in ComputeDefaultedMoveCtorExceptionSpec()
11014 CXXConstructorDecl *Constructor = in ComputeDefaultedMoveCtorExceptionSpec()
11029 CXXConstructorDecl *Sema::DeclareImplicitMoveConstructor( in DeclareImplicitMoveConstructor()
11053 CXXConstructorDecl *MoveConstructor = CXXConstructorDecl::Create( in DeclareImplicitMoveConstructor()
11102 CXXConstructorDecl *MoveConstructor) { in DefineImplicitMoveConstructor()
11299 CXXConstructorDecl *Constructor, in BuildCXXConstructExpr()
11336 CXXConstructorDecl *Constructor, bool Elidable, in BuildCXXConstructExpr()
11437 Sema::CompleteConstructorCall(CXXConstructorDecl *Constructor, in CompleteConstructorCall()
12882 cast<CXXConstructorDecl>(MD)); in SetDeclDefaulted()
12885 DefineImplicitCopyConstructor(DefaultLoc, cast<CXXConstructorDecl>(MD)); in SetDeclDefaulted()
12894 DefineImplicitMoveConstructor(DefaultLoc, cast<CXXConstructorDecl>(MD)); in SetDeclDefaulted()
13417 void DelegatingCycleHelper(CXXConstructorDecl* Ctor, in DelegatingCycleHelper()
13418 llvm::SmallSet<CXXConstructorDecl*, 4> &Valid, in DelegatingCycleHelper() argument
13419 llvm::SmallSet<CXXConstructorDecl*, 4> &Invalid, in DelegatingCycleHelper()
13420 llvm::SmallSet<CXXConstructorDecl*, 4> &Current, in DelegatingCycleHelper()
13425 CXXConstructorDecl *Target = Ctor->getTargetConstructor(); in DelegatingCycleHelper()
13432 Target = const_cast<CXXConstructorDecl*>( in DelegatingCycleHelper()
13433 cast_or_null<CXXConstructorDecl>(FNTarget)); in DelegatingCycleHelper()
13436 CXXConstructorDecl *Canonical = Ctor->getCanonicalDecl(), in DelegatingCycleHelper()
13461 CXXConstructorDecl *C = Target; in DelegatingCycleHelper()
13467 C = const_cast<CXXConstructorDecl*>( in DelegatingCycleHelper()
13468 cast<CXXConstructorDecl>(FNTarget)); in DelegatingCycleHelper()
13482 llvm::SmallSet<CXXConstructorDecl*, 4> Valid, Invalid, Current; in CheckDelegatingCtorCycles()
13490 for (llvm::SmallSet<CXXConstructorDecl *, 4>::iterator CI = Invalid.begin(), in CheckDelegatingCtorCycles()