Lines Matching defs:CXXConstructorDecl
641 if (isa<CXXConstructorDecl>(New) &&
1792 PD->getSourceRange(), isa<CXXConstructorDecl>(FD),
1851 << isa<CXXConstructorDecl>(NewFD)
1860 if (!isa<CXXConstructorDecl>(NewFD)) {
1956 << isa<CXXConstructorDecl>(Dcl);
1972 << isa<CXXConstructorDecl>(Dcl);
2000 << isa<CXXConstructorDecl>(Dcl)
2009 isa<CXXConstructorDecl>(Dcl),
2014 isa<CXXConstructorDecl>(Dcl))) {
2025 << isa<CXXConstructorDecl>(Dcl);
2037 << isa<CXXConstructorDecl>(Dcl);
2055 << isa<CXXConstructorDecl>(Dcl) << Dcl->isConsteval();
2156 if (isa<CXXConstructorDecl>(Dcl)) {
2285 << isa<CXXConstructorDecl>(Dcl) << Dcl->isConsteval();
2324 << isa<CXXConstructorDecl>(Dcl);
2354 << isa<CXXConstructorDecl>(Dcl);
2360 << isa<CXXConstructorDecl>(Dcl);
2366 << isa<CXXConstructorDecl>(Dcl);
2369 if (const CXXConstructorDecl *Constructor
2370 = dyn_cast<CXXConstructorDecl>(Dcl)) {
2493 << isa<CXXConstructorDecl>(Dcl) << Dcl->isConsteval()
2555 CXXConstructorDecl *CurrentConstructor = nullptr;
2560 ImmediateFnIsConstructor(isa<CXXConstructorDecl>(FD)) {
2578 << isa<CXXConstructorDecl>(Fn) << ImmediateFnIsConstructor
2609 CXXConstructorDecl *D = E->getConstructor();
2622 bool TraverseCXXConstructorDecl(CXXConstructorDecl *Ctr) override {
3700 const CXXConstructorDecl *Constructor;
3896 void CheckInitializer(Expr *E, const CXXConstructorDecl *FieldConstructor,
4026 Sema &SemaRef, const CXXConstructorDecl *Constructor) {
4368 CXXConstructorDecl *Constructor
4369 = dyn_cast<CXXConstructorDecl>(ConstructorD);
4851 BuildImplicitBaseInitializer(Sema &SemaRef, CXXConstructorDecl *Constructor,
4934 BuildImplicitMemberInitializer(Sema &SemaRef, CXXConstructorDecl *Constructor,
5094 CXXConstructorDecl *Ctor;
5101 BaseAndFieldInfo(Sema &S, CXXConstructorDecl *Ctor, bool ErrorsInInits)
5266 Sema::SetDelegatingInitializer(CXXConstructorDecl *Constructor,
5287 bool Sema::SetCtorInitializers(CXXConstructorDecl *Constructor, bool AnyErrors,
5502 Sema &SemaRef, const CXXConstructorDecl *Constructor,
5705 CXXConstructorDecl *Constructor
5706 = dyn_cast<CXXConstructorDecl>(ConstructorDecl);
5911 if (CXXConstructorDecl *Constructor
5912 = dyn_cast<CXXConstructorDecl>(CDtorDecl)) {
6246 auto *CD = dyn_cast<CXXConstructorDecl>(MD);
6288 CXXConstructorDecl *LastExportedDefaultCtor = nullptr;
6291 auto *CD = dyn_cast<CXXConstructorDecl>(Member);
6554 auto *Ctor = dyn_cast<CXXConstructorDecl>(MD);
6680 if (const CXXConstructorDecl *Ctor = dyn_cast<CXXConstructorDecl>(FD)) {
6740 cast<CXXConstructorDecl>(FD));
6743 S.DefineImplicitCopyConstructor(DefaultLoc, cast<CXXConstructorDecl>(FD));
6752 S.DefineImplicitMoveConstructor(DefaultLoc, cast<CXXConstructorDecl>(FD));
6793 for (const CXXConstructorDecl *CD : D->ctors()) {
6864 auto *CD = dyn_cast<CXXConstructorDecl>(MD);
7358 std::pair<CXXConstructorDecl *, bool>
7359 findConstructorForBase(CXXRecordDecl *Base, CXXConstructorDecl *Ctor) const {
7379 bool ConstRHS, CXXConstructorDecl *InheritedCtor = nullptr,
7414 CXXConstructorDecl *InheritedCtor = nullptr,
7564 auto *CD = cast<CXXConstructorDecl>(FD);
7817 : isa<CXXConstructorDecl>(MD))) &&
9285 cast<CXXConstructorDecl>(MD)->getInheritedConstructor().getConstructor();
9883 CXXConstructorDecl *DefCtor = nullptr;
9986 static CXXConstructorDecl *findUserDeclaredCtor(CXXRecordDecl *RD) {
9994 if (CXXConstructorDecl *CD =
9995 dyn_cast<CXXConstructorDecl>(TI->getTemplatedDecl()))
10036 if (CXXConstructorDecl *CD = findUserDeclaredCtor(SubRD))
10438 for (const CXXConstructorDecl *CD : RD.ctors())
10800 if (CXXConstructorDecl *Constructor = dyn_cast<CXXConstructorDecl>(Method))
10906 void Sema::CheckConstructor(CXXConstructorDecl *Constructor) {
12639 if (NonTemplateTarget && isa<CXXConstructorDecl>(NonTemplateTarget)) {
13925 CXXConstructorDecl *Sema::DeclareImplicitDefaultConstructor(
13951 CXXConstructorDecl *DefaultCon = CXXConstructorDecl::Create(
13991 CXXConstructorDecl *Constructor) {
14041 CXXConstructorDecl *
14043 CXXConstructorDecl *BaseCtor,
14056 if (declaresSameEntity(cast<CXXConstructorDecl>(Ctor)
14060 return cast<CXXConstructorDecl>(Ctor);
14077 CXXConstructorDecl *DerivedCtor = CXXConstructorDecl::Create(
14126 void Sema::NoteDeletedInheritingConstructor(CXXConstructorDecl *Ctor) {
14135 CXXConstructorDecl *Constructor) {
14158 CXXConstructorDecl *InheritedCtor =
14938 } else if (!isa<CXXConstructorDecl>(CopyOp) &&
14948 } else if (isa<CXXConstructorDecl>(CopyOp) &&
14963 bool IsCopyAssignment = !isa<CXXConstructorDecl>(CopyOp);
15591 CXXConstructorDecl *Sema::DeclareImplicitCopyConstructor(
15628 CXXConstructorDecl *CopyConstructor = CXXConstructorDecl::Create(
15694 CXXConstructorDecl *CopyConstructor) {
15741 CXXConstructorDecl *Sema::DeclareImplicitMoveConstructor(
15772 CXXConstructorDecl *MoveConstructor = CXXConstructorDecl::Create(
15832 CXXConstructorDecl *MoveConstructor) {
16016 CXXConstructorDecl *Constructor, MultiExprArg ExprArgs,
16058 CXXConstructorDecl *Constructor, bool Elidable, MultiExprArg ExprArgs,
16081 CXXConstructorDecl *Constructor, bool Elidable, MultiExprArg ExprArgs,
16165 bool Sema::CompleteConstructorCall(CXXConstructorDecl *Constructor,
18128 (!isa<CXXConstructorDecl>(FD) &&
18767 void DelegatingCycleHelper(CXXConstructorDecl* Ctor,
18768 llvm::SmallPtrSet<CXXConstructorDecl*, 4> &Valid,
18769 llvm::SmallPtrSet<CXXConstructorDecl*, 4> &Invalid,
18770 llvm::SmallPtrSet<CXXConstructorDecl*, 4> &Current,
18775 CXXConstructorDecl *Target = Ctor->getTargetConstructor();
18782 Target = const_cast<CXXConstructorDecl*>(
18783 cast_or_null<CXXConstructorDecl>(FNTarget));
18786 CXXConstructorDecl *Canonical = Ctor->getCanonicalDecl(),
18811 CXXConstructorDecl *C = Target;
18817 C = const_cast<CXXConstructorDecl*>(
18818 cast<CXXConstructorDecl>(FNTarget));
18832 llvm::SmallPtrSet<CXXConstructorDecl*, 4> Valid, Invalid, Current;