Lines Matching refs:MoveConstructor
11184 CXXConstructorDecl *MoveConstructor = CXXConstructorDecl::Create( in DeclareImplicitMoveConstructor() local
11188 MoveConstructor->setAccess(AS_public); in DeclareImplicitMoveConstructor()
11189 MoveConstructor->setDefaulted(); in DeclareImplicitMoveConstructor()
11193 MoveConstructor, in DeclareImplicitMoveConstructor()
11200 getImplicitMethodEPI(*this, MoveConstructor); in DeclareImplicitMoveConstructor()
11201 MoveConstructor->setType( in DeclareImplicitMoveConstructor()
11205 ParmVarDecl *FromParam = ParmVarDecl::Create(Context, MoveConstructor, in DeclareImplicitMoveConstructor()
11210 MoveConstructor->setParams(FromParam); in DeclareImplicitMoveConstructor()
11212 MoveConstructor->setTrivial( in DeclareImplicitMoveConstructor()
11214 ? SpecialMemberIsTrivial(MoveConstructor, CXXMoveConstructor) in DeclareImplicitMoveConstructor()
11221 CheckImplicitSpecialMemberDeclaration(S, MoveConstructor); in DeclareImplicitMoveConstructor()
11223 if (ShouldDeleteSpecialMember(MoveConstructor, CXXMoveConstructor)) { in DeclareImplicitMoveConstructor()
11225 SetDeclDeleted(MoveConstructor, ClassLoc); in DeclareImplicitMoveConstructor()
11229 PushOnScopeChains(MoveConstructor, S, false); in DeclareImplicitMoveConstructor()
11230 ClassDecl->addDecl(MoveConstructor); in DeclareImplicitMoveConstructor()
11232 return MoveConstructor; in DeclareImplicitMoveConstructor()
11236 CXXConstructorDecl *MoveConstructor) { in DefineImplicitMoveConstructor() argument
11237 assert((MoveConstructor->isDefaulted() && in DefineImplicitMoveConstructor()
11238 MoveConstructor->isMoveConstructor() && in DefineImplicitMoveConstructor()
11239 !MoveConstructor->doesThisDeclarationHaveABody() && in DefineImplicitMoveConstructor()
11240 !MoveConstructor->isDeleted()) && in DefineImplicitMoveConstructor()
11243 CXXRecordDecl *ClassDecl = MoveConstructor->getParent(); in DefineImplicitMoveConstructor()
11246 SynthesizedFunctionScope Scope(*this, MoveConstructor); in DefineImplicitMoveConstructor()
11249 if (SetCtorInitializers(MoveConstructor, /*AnyErrors=*/false) || in DefineImplicitMoveConstructor()
11253 MoveConstructor->setInvalidDecl(); in DefineImplicitMoveConstructor()
11255 SourceLocation Loc = MoveConstructor->getLocEnd().isValid() in DefineImplicitMoveConstructor()
11256 ? MoveConstructor->getLocEnd() in DefineImplicitMoveConstructor()
11257 : MoveConstructor->getLocation(); in DefineImplicitMoveConstructor()
11259 MoveConstructor->setBody(ActOnCompoundStmt( in DefineImplicitMoveConstructor()
11266 MoveConstructor->getType()->castAs<FunctionProtoType>()); in DefineImplicitMoveConstructor()
11268 MoveConstructor->markUsed(Context); in DefineImplicitMoveConstructor()
11272 L->CompletedImplicitDefinition(MoveConstructor); in DefineImplicitMoveConstructor()