@@ -1119,7 +1119,6 @@ class SpecifierTypeRepr : public TypeRepr {
11191119 T->getKind () == TypeReprKind::Isolated ||
11201120 T->getKind () == TypeReprKind::CompileTimeConst ||
11211121 T->getKind () == TypeReprKind::LifetimeDependentReturn ||
1122- T->getKind () == TypeReprKind::Transferring ||
11231122 T->getKind () == TypeReprKind::Sending;
11241123 }
11251124 static bool classof (const SpecifierTypeRepr *T) { return true ; }
@@ -1191,21 +1190,6 @@ class CompileTimeConstTypeRepr : public SpecifierTypeRepr {
11911190 static bool classof (const CompileTimeConstTypeRepr *T) { return true ; }
11921191};
11931192
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-
12091193// / A sending type.
12101194// / \code
12111195// / x : sending Int
@@ -1621,7 +1605,6 @@ inline bool TypeRepr::isSimple() const {
16211605 case TypeReprKind::Array:
16221606 case TypeReprKind::SILBox:
16231607 case TypeReprKind::Isolated:
1624- case TypeReprKind::Transferring:
16251608 case TypeReprKind::Sending:
16261609 case TypeReprKind::Placeholder:
16271610 case TypeReprKind::CompileTimeConst:
0 commit comments