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(
280
280
ValueDecl *DerivedConformance::getDerivableRequirement (NominalTypeDecl *nominal,
281
281
ValueDecl *requirement) {
282
282
// Note: whenever you update this function, also update
283
- // TypeChecker:: deriveProtocolRequirement.
283
+ // deriveProtocolRequirement.
284
284
ASTContext &ctx = nominal->getASTContext ();
285
285
const auto name = requirement->getName ();
286
286
Original file line number Diff line number Diff line change @@ -826,21 +826,6 @@ void checkConformancesInContext(IterableDeclContext *idc);
826
826
// / Check that the type of the given property conforms to NSCopying.
827
827
ProtocolConformanceRef checkConformanceToNSCopying (VarDecl *var);
828
828
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
-
844
829
// / \name Name lookup
845
830
// /
846
831
// / Routines that perform name lookup.
You can’t perform that action at this time.
0 commit comments