reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
13243 assert((MoveConstructor->isDefaulted() && 13244 MoveConstructor->isMoveConstructor() && 13245 !MoveConstructor->doesThisDeclarationHaveABody() && 13246 !MoveConstructor->isDeleted()) && 13248 if (MoveConstructor->willHaveBody() || MoveConstructor->isInvalidDecl()) 13248 if (MoveConstructor->willHaveBody() || MoveConstructor->isInvalidDecl()) 13251 CXXRecordDecl *ClassDecl = MoveConstructor->getParent(); 13254 SynthesizedFunctionScope Scope(*this, MoveConstructor); 13259 MoveConstructor->getType()->castAs<FunctionProtoType>()); 13265 if (SetCtorInitializers(MoveConstructor, /*AnyErrors=*/false)) { 13266 MoveConstructor->setInvalidDecl(); 13268 SourceLocation Loc = MoveConstructor->getEndLoc().isValid() 13269 ? MoveConstructor->getEndLoc() 13270 : MoveConstructor->getLocation(); 13272 MoveConstructor->setBody(ActOnCompoundStmt( 13274 MoveConstructor->markUsed(Context); 13278 L->CompletedImplicitDefinition(MoveConstructor);