reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
11495 assert((Constructor->isDefaulted() && Constructor->isDefaultConstructor() && 11495 assert((Constructor->isDefaulted() && Constructor->isDefaultConstructor() && 11496 !Constructor->doesThisDeclarationHaveABody() && 11497 !Constructor->isDeleted()) && 11499 if (Constructor->willHaveBody() || Constructor->isInvalidDecl()) 11499 if (Constructor->willHaveBody() || Constructor->isInvalidDecl()) 11502 CXXRecordDecl *ClassDecl = Constructor->getParent(); 11505 SynthesizedFunctionScope Scope(*this, Constructor); 11510 Constructor->getType()->castAs<FunctionProtoType>()); 11516 if (SetCtorInitializers(Constructor, /*AnyErrors=*/false)) { 11517 Constructor->setInvalidDecl(); 11521 SourceLocation Loc = Constructor->getEndLoc().isValid() 11522 ? Constructor->getEndLoc() 11523 : Constructor->getLocation(); 11524 Constructor->setBody(new (Context) CompoundStmt(Loc)); 11525 Constructor->markUsed(Context); 11528 L->CompletedImplicitDefinition(Constructor); 11531 DiagnoseUninitializedFields(*this, Constructor);