@@ -1116,7 +1116,6 @@ class SpecifierTypeRepr : public TypeRepr {
11161116 T->getKind () == TypeReprKind::CompileTimeConst ||
11171117 T->getKind () == TypeReprKind::ResultDependsOn ||
11181118 T->getKind () == TypeReprKind::LifetimeDependentReturn ||
1119- T->getKind () == TypeReprKind::Transferring ||
11201119 T->getKind () == TypeReprKind::Sending;
11211120 }
11221121 static bool classof (const SpecifierTypeRepr *T) { return true ; }
@@ -1203,21 +1202,6 @@ class ResultDependsOnTypeRepr : public SpecifierTypeRepr {
12031202 static bool classof (const ResultDependsOnTypeRepr *T) { return true ; }
12041203};
12051204
1206- // / A transferring type.
1207- // / \code
1208- // / x : transferring Int
1209- // / \endcode
1210- class TransferringTypeRepr : public SpecifierTypeRepr {
1211- public:
1212- TransferringTypeRepr (TypeRepr *Base, SourceLoc InOutLoc)
1213- : SpecifierTypeRepr(TypeReprKind::Transferring, Base, InOutLoc) {}
1214-
1215- static bool classof (const TypeRepr *T) {
1216- return T->getKind () == TypeReprKind::Transferring;
1217- }
1218- static bool classof (const TransferringTypeRepr *T) { return true ; }
1219- };
1220-
12211205// / A sending type.
12221206// / \code
12231207// / x : sending Int
@@ -1633,7 +1617,6 @@ inline bool TypeRepr::isSimple() const {
16331617 case TypeReprKind::Array:
16341618 case TypeReprKind::SILBox:
16351619 case TypeReprKind::Isolated:
1636- case TypeReprKind::Transferring:
16371620 case TypeReprKind::Sending:
16381621 case TypeReprKind::Placeholder:
16391622 case TypeReprKind::CompileTimeConst:
0 commit comments