• Home
  • Raw
  • Download

Lines Matching refs:CopyConstructor

10950     if (CXXConstructorDecl *CopyConstructor =  in ComputeDefaultedCopyCtorExceptionSpec()  local
10952 ExceptSpec.CalledDecl(Base.getLocStart(), CopyConstructor); in ComputeDefaultedCopyCtorExceptionSpec()
10957 if (CXXConstructorDecl *CopyConstructor = in ComputeDefaultedCopyCtorExceptionSpec() local
10959 ExceptSpec.CalledDecl(Base.getLocStart(), CopyConstructor); in ComputeDefaultedCopyCtorExceptionSpec()
10964 if (CXXConstructorDecl *CopyConstructor = in ComputeDefaultedCopyCtorExceptionSpec() local
10967 ExceptSpec.CalledDecl(Field->getLocation(), CopyConstructor); in ComputeDefaultedCopyCtorExceptionSpec()
11004 CXXConstructorDecl *CopyConstructor = CXXConstructorDecl::Create( in DeclareImplicitCopyConstructor() local
11008 CopyConstructor->setAccess(AS_public); in DeclareImplicitCopyConstructor()
11009 CopyConstructor->setDefaulted(); in DeclareImplicitCopyConstructor()
11013 CopyConstructor, in DeclareImplicitCopyConstructor()
11020 getImplicitMethodEPI(*this, CopyConstructor); in DeclareImplicitCopyConstructor()
11021 CopyConstructor->setType( in DeclareImplicitCopyConstructor()
11025 ParmVarDecl *FromParam = ParmVarDecl::Create(Context, CopyConstructor, in DeclareImplicitCopyConstructor()
11030 CopyConstructor->setParams(FromParam); in DeclareImplicitCopyConstructor()
11032 CopyConstructor->setTrivial( in DeclareImplicitCopyConstructor()
11034 ? SpecialMemberIsTrivial(CopyConstructor, CXXCopyConstructor) in DeclareImplicitCopyConstructor()
11041 CheckImplicitSpecialMemberDeclaration(S, CopyConstructor); in DeclareImplicitCopyConstructor()
11043 if (ShouldDeleteSpecialMember(CopyConstructor, CXXCopyConstructor)) in DeclareImplicitCopyConstructor()
11044 SetDeclDeleted(CopyConstructor, ClassLoc); in DeclareImplicitCopyConstructor()
11047 PushOnScopeChains(CopyConstructor, S, false); in DeclareImplicitCopyConstructor()
11048 ClassDecl->addDecl(CopyConstructor); in DeclareImplicitCopyConstructor()
11050 return CopyConstructor; in DeclareImplicitCopyConstructor()
11054 CXXConstructorDecl *CopyConstructor) { in DefineImplicitCopyConstructor() argument
11055 assert((CopyConstructor->isDefaulted() && in DefineImplicitCopyConstructor()
11056 CopyConstructor->isCopyConstructor() && in DefineImplicitCopyConstructor()
11057 !CopyConstructor->doesThisDeclarationHaveABody() && in DefineImplicitCopyConstructor()
11058 !CopyConstructor->isDeleted()) && in DefineImplicitCopyConstructor()
11061 CXXRecordDecl *ClassDecl = CopyConstructor->getParent(); in DefineImplicitCopyConstructor()
11068 if (getLangOpts().CPlusPlus11 && CopyConstructor->isImplicit()) in DefineImplicitCopyConstructor()
11069 diagnoseDeprecatedCopyOperation(*this, CopyConstructor, CurrentLocation); in DefineImplicitCopyConstructor()
11071 SynthesizedFunctionScope Scope(*this, CopyConstructor); in DefineImplicitCopyConstructor()
11074 if (SetCtorInitializers(CopyConstructor, /*AnyErrors=*/false) || in DefineImplicitCopyConstructor()
11078 CopyConstructor->setInvalidDecl(); in DefineImplicitCopyConstructor()
11080 SourceLocation Loc = CopyConstructor->getLocEnd().isValid() in DefineImplicitCopyConstructor()
11081 ? CopyConstructor->getLocEnd() in DefineImplicitCopyConstructor()
11082 : CopyConstructor->getLocation(); in DefineImplicitCopyConstructor()
11084 CopyConstructor->setBody( in DefineImplicitCopyConstructor()
11091 CopyConstructor->getType()->castAs<FunctionProtoType>()); in DefineImplicitCopyConstructor()
11093 CopyConstructor->markUsed(Context); in DefineImplicitCopyConstructor()
11097 L->CompletedImplicitDefinition(CopyConstructor); in DefineImplicitCopyConstructor()