File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -5754,7 +5754,7 @@ ProtocolConformanceRef ProtocolConformanceRef::forAbstract(
57545754 properties |= conformingType->getRecursiveProperties ();
57555755 auto arena = getArena (properties);
57565756
5757- // Profile the substitution map .
5757+ // Form the folding set key .
57585758 llvm::FoldingSetNodeID id;
57595759 AbstractConformance::Profile (id, conformingType, proto);
57605760
Original file line number Diff line number Diff line change 1010//
1111// ===----------------------------------------------------------------------===//
1212//
13- // This file defines the AbstractConformance class, which stores an
14- // abstract conformance that is stashed in a ProtocolConformanceRef.
13+ // This file defines the AbstractConformance class, which represents
14+ // the conformance of a type parameter or archetype to a protocol.
15+ // These are usually stashed inside a ProtocolConformanceRef.
1516//
1617// ===----------------------------------------------------------------------===//
1718#ifndef SWIFT_AST_ABSTRACT_CONFORMANCE_H
@@ -36,7 +37,7 @@ class AbstractConformance final : public llvm::FoldingSetNode {
3637 Profile (id, getType (), getProtocol ());
3738 }
3839
39- // / Profile the substitution map storage , for use with LLVM's FoldingSet.
40+ // / Profile the storage for this conformance , for use with LLVM's FoldingSet.
4041 static void Profile (llvm::FoldingSetNodeID &id,
4142 Type conformingType,
4243 ProtocolDecl *requirement) {
You can’t perform that action at this time.
0 commit comments