@@ -4389,10 +4389,6 @@ class NominalTypeDecl : public GenericTypeDecl, public IterableDeclContext {
43894389 // / Type if it `isEscapable` instead of using this.
43904390 CanBeInvertible::Result canBeEscapable () const ;
43914391
4392- // / Determine whether this type has `: <target>` stated explicitly in
4393- // / its inheritance clause.
4394- bool hasMarking (InvertibleProtocolKind target) const ;
4395-
43964392 // / Determine whether this type has ~<target>` stated on
43974393 // / itself, one of its inherited types or `Self` requirements.
43984394 InverseMarking::Mark hasInverseMarking (InvertibleProtocolKind target) const ;
@@ -5188,6 +5184,10 @@ class ProtocolDecl final : public NominalTypeDecl {
51885184 // / Retrieve the set of protocols inherited from this protocol.
51895185 ArrayRef<ProtocolDecl *> getInheritedProtocols () const ;
51905186
5187+ // / Retrieve the transitive closure of the inherited protocols, not including
5188+ // / this protocol itself.
5189+ ArrayRef<ProtocolDecl *> getAllInheritedProtocols () const ;
5190+
51915191 // / Determine whether this protocol has a superclass.
51925192 bool hasSuperclass () const { return (bool )getSuperclassDecl (); }
51935193
@@ -5255,10 +5255,6 @@ class ProtocolDecl final : public NominalTypeDecl {
52555255 // / Determine whether this protocol has ~<target>` stated on
52565256 // / itself, one of its inherited types or `Self` requirements.
52575257 InverseMarking::Mark hasInverseMarking (InvertibleProtocolKind target) const ;
5258-
5259- // / Determine whether this protocol requires conformance to `IP`, without
5260- // / querying a generic signature.
5261- bool requiresInvertible (InvertibleProtocolKind ip) const ;
52625258
52635259 SourceLoc getStartLoc () const { return ProtocolLoc; }
52645260 SourceRange getSourceRange () const {
0 commit comments