mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Remove redundant SILType::isMoveOnlyNominalType (NFC)
and implement `SILType::isPureMoveOnly` in terms of `Type::isPureMoveOnly`.
This commit is contained in:
@@ -756,10 +756,6 @@ public:
|
||||
/// deinitialization beyond destruction of its members.
|
||||
bool isValueTypeWithDeinit() const;
|
||||
|
||||
/// Returns true if and only if this type is a first class move only
|
||||
/// type. NOTE: Returns false if the type is a move only wrapped type.
|
||||
bool isMoveOnlyNominalType() const;
|
||||
|
||||
/// Returns true if this SILType is a move only wrapper type.
|
||||
///
|
||||
/// Canonical way to check if a SILType is move only. Using is/getAs/castTo
|
||||
|
||||
Reference in New Issue
Block a user