File tree Expand file tree Collapse file tree 2 files changed +1
-16
lines changed Expand file tree Collapse file tree 2 files changed +1
-16
lines changed Original file line number Diff line number Diff line change @@ -280,7 +280,7 @@ void DerivedConformance::diagnoseIfSynthesisUnsupportedForDecl(
280280ValueDecl *DerivedConformance::getDerivableRequirement (NominalTypeDecl *nominal,
281281 ValueDecl *requirement) {
282282 // Note: whenever you update this function, also update
283- // TypeChecker:: deriveProtocolRequirement.
283+ // deriveProtocolRequirement.
284284 ASTContext &ctx = nominal->getASTContext ();
285285 const auto name = requirement->getName ();
286286
Original file line number Diff line number Diff line change @@ -826,21 +826,6 @@ void checkConformancesInContext(IterableDeclContext *idc);
826826// / Check that the type of the given property conforms to NSCopying.
827827ProtocolConformanceRef checkConformanceToNSCopying (VarDecl *var);
828828
829- // / Derive an implicit declaration to satisfy a requirement of a derived
830- // / protocol conformance.
831- // /
832- // / \param DC The declaration context where the conformance was
833- // / defined, either the type itself or an extension
834- // / \param TypeDecl The type for which the requirement is being derived.
835- // / \param Requirement The protocol requirement.
836- // /
837- // / \returns nullptr if the derivation failed, or the derived declaration
838- // / if it succeeded. If successful, the derived declaration is added
839- // / to TypeDecl's body.
840- ValueDecl *deriveProtocolRequirement (DeclContext *DC,
841- NominalTypeDecl *TypeDecl,
842- ValueDecl *Requirement);
843-
844829// / \name Name lookup
845830// /
846831// / Routines that perform name lookup.
You can’t perform that action at this time.
0 commit comments