File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -853,8 +853,10 @@ class ModuleDecl
853
853
ProtocolConformanceRef conformsToProtocol (Type sourceTy,
854
854
ProtocolDecl *targetProtocol);
855
855
856
- // / Collect the conformances of \c fromType each of the protocols of an
856
+ // / Collect the conformances of \c fromType to each of the protocols of an
857
857
// / existential type's layout.
858
+ // /
859
+ // / See `TypeChecker::containsProtocol` for details on the boolean arguments.
858
860
ArrayRef<ProtocolConformanceRef>
859
861
collectExistentialConformances (CanType fromType, CanType existential,
860
862
bool skipConditionalRequirements = true ,
Original file line number Diff line number Diff line change @@ -345,10 +345,6 @@ class CollectExistentialConformancesRequest
345
345
CanType existential,
346
346
bool skipConditionalRequirements,
347
347
bool allowMissing) const ;
348
-
349
- public:
350
- // Caching.
351
- bool isCached () const { return true ; }
352
348
};
353
349
354
350
// / Determine whether an existential type conforming to this protocol
You can’t perform that action at this time.
0 commit comments