Skip to content

Commit 2d670f4

Browse files
committed
AST: Update documentation comment in SubstitutionMap.h
1 parent 652f8ee commit 2d670f4

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

include/swift/AST/SubstitutionMap.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,10 @@ enum class CombineSubstitutionMaps {
5252
/// any entity that can reference type parameters, e.g., types (via
5353
/// Type::subst()) and conformances (via ProtocolConformanceRef::subst()).
5454
///
55-
/// SubstitutionMaps are constructed by calling the getSubstitutionMap() method
56-
/// on a GenericSignature or (equivalently) by calling one of the static
57-
/// \c SubstitutionMap::get() methods. However, most substitution maps are
55+
/// SubstitutionMaps are constructed by calling the an overload of the static
56+
/// method \c SubstitutionMap::get(). However, most substitution maps are
5857
/// computed using higher-level entry points such as
59-
/// TypeBase::getMemberSubstitutionMap().
58+
/// TypeBase::getContextSubstitutionMap().
6059
///
6160
/// Substitution maps are ASTContext-allocated and are uniqued on construction,
6261
/// so they can be used as fields in AST nodes.

0 commit comments

Comments
 (0)