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(
5754
5754
properties |= conformingType->getRecursiveProperties ();
5755
5755
auto arena = getArena (properties);
5756
5756
5757
- // Profile the substitution map .
5757
+ // Form the folding set key .
5758
5758
llvm::FoldingSetNodeID id;
5759
5759
AbstractConformance::Profile (id, conformingType, proto);
5760
5760
Original file line number Diff line number Diff line change 10
10
//
11
11
// ===----------------------------------------------------------------------===//
12
12
//
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.
15
16
//
16
17
// ===----------------------------------------------------------------------===//
17
18
#ifndef SWIFT_AST_ABSTRACT_CONFORMANCE_H
@@ -36,7 +37,7 @@ class AbstractConformance final : public llvm::FoldingSetNode {
36
37
Profile (id, getType (), getProtocol ());
37
38
}
38
39
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.
40
41
static void Profile (llvm::FoldingSetNodeID &id,
41
42
Type conformingType,
42
43
ProtocolDecl *requirement) {
You can’t perform that action at this time.
0 commit comments