@@ -66,6 +66,30 @@ public struct Type: TypeProperties, CustomStringConvertible, NoReflectionChildre
6666 public func subst( with substitutionMap: SubstitutionMap ) -> Type {
6767 return Type ( bridged: bridged. subst ( substitutionMap. bridged) )
6868 }
69+
70+ public func mapTypeOutOfContext( ) -> Type {
71+ return Type ( bridged: bridged. mapTypeOutOfContext ( ) )
72+ }
73+
74+ public func getReducedType( sig: GenericSignature ) -> CanonicalType {
75+ CanonicalType ( bridged: bridged. getReducedType ( sig. bridged) )
76+ }
77+
78+ public func GenericTypeParam_getName( ) -> swift . Identifier {
79+ return bridged. GenericTypeParam_getName ( )
80+ }
81+
82+ public func GenericTypeParam_getDepth( ) -> UInt {
83+ return bridged. GenericTypeParam_getDepth ( )
84+ }
85+
86+ public func GenericTypeParam_getIndex( ) -> UInt {
87+ return bridged. GenericTypeParam_getIndex ( )
88+ }
89+
90+ public func GenericTypeParam_getParamKind( ) -> swift . GenericTypeParamKind {
91+ return bridged. GenericTypeParam_getParamKind ( )
92+ }
6993}
7094
7195/// A Type that is statically known to be canonical.
@@ -86,6 +110,10 @@ public struct CanonicalType: TypeProperties, CustomStringConvertible, NoReflecti
86110 public func subst( with substitutionMap: SubstitutionMap ) -> CanonicalType {
87111 return rawType. subst ( with: substitutionMap) . canonical
88112 }
113+
114+ public func SILFunctionType_getSubstGenericSignature( ) -> CanGenericSignature {
115+ CanGenericSignature ( bridged: bridged. SILFunctionType_getSubstGenericSignature ( ) )
116+ }
89117}
90118
91119/// Implements the common members of `AST.Type`, `AST.CanonicalType` and `SIL.Type`.
0 commit comments