@@ -1119,7 +1119,6 @@ class SpecifierTypeRepr : public TypeRepr {
1119
1119
T->getKind () == TypeReprKind::Isolated ||
1120
1120
T->getKind () == TypeReprKind::CompileTimeConst ||
1121
1121
T->getKind () == TypeReprKind::LifetimeDependentReturn ||
1122
- T->getKind () == TypeReprKind::Transferring ||
1123
1122
T->getKind () == TypeReprKind::Sending;
1124
1123
}
1125
1124
static bool classof (const SpecifierTypeRepr *T) { return true ; }
@@ -1191,21 +1190,6 @@ class CompileTimeConstTypeRepr : public SpecifierTypeRepr {
1191
1190
static bool classof (const CompileTimeConstTypeRepr *T) { return true ; }
1192
1191
};
1193
1192
1194
- // / A transferring type.
1195
- // / \code
1196
- // / x : transferring Int
1197
- // / \endcode
1198
- class TransferringTypeRepr : public SpecifierTypeRepr {
1199
- public:
1200
- TransferringTypeRepr (TypeRepr *Base, SourceLoc InOutLoc)
1201
- : SpecifierTypeRepr(TypeReprKind::Transferring, Base, InOutLoc) {}
1202
-
1203
- static bool classof (const TypeRepr *T) {
1204
- return T->getKind () == TypeReprKind::Transferring;
1205
- }
1206
- static bool classof (const TransferringTypeRepr *T) { return true ; }
1207
- };
1208
-
1209
1193
// / A sending type.
1210
1194
// / \code
1211
1195
// / x : sending Int
@@ -1621,7 +1605,6 @@ inline bool TypeRepr::isSimple() const {
1621
1605
case TypeReprKind::Array:
1622
1606
case TypeReprKind::SILBox:
1623
1607
case TypeReprKind::Isolated:
1624
- case TypeReprKind::Transferring:
1625
1608
case TypeReprKind::Sending:
1626
1609
case TypeReprKind::Placeholder:
1627
1610
case TypeReprKind::CompileTimeConst:
0 commit comments