reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Sema/SemaDeclCXX.cpp
13111   assert((CopyConstructor->isDefaulted() &&
13112           CopyConstructor->isCopyConstructor() &&
13113           !CopyConstructor->doesThisDeclarationHaveABody() &&
13114           !CopyConstructor->isDeleted()) &&
13116   if (CopyConstructor->willHaveBody() || CopyConstructor->isInvalidDecl())
13116   if (CopyConstructor->willHaveBody() || CopyConstructor->isInvalidDecl())
13119   CXXRecordDecl *ClassDecl = CopyConstructor->getParent();
13122   SynthesizedFunctionScope Scope(*this, CopyConstructor);
13127                        CopyConstructor->getType()->castAs<FunctionProtoType>());
13137   if (getLangOpts().CPlusPlus11 && CopyConstructor->isImplicit())
13138     diagnoseDeprecatedCopyOperation(*this, CopyConstructor);
13140   if (SetCtorInitializers(CopyConstructor, /*AnyErrors=*/false)) {
13141     CopyConstructor->setInvalidDecl();
13143     SourceLocation Loc = CopyConstructor->getEndLoc().isValid()
13144                              ? CopyConstructor->getEndLoc()
13145                              : CopyConstructor->getLocation();
13147     CopyConstructor->setBody(
13149     CopyConstructor->markUsed(Context);
13153     L->CompletedImplicitDefinition(CopyConstructor);