mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Introduce special name for destructors
This name is not used yet
This commit is contained in:
@@ -341,6 +341,8 @@ public:
|
||||
}
|
||||
case static_cast<uint8_t>(DeclNameKind::Subscript):
|
||||
return {DeclBaseName::Kind::Subscript, StringRef()};
|
||||
case static_cast<uint8_t>(DeclNameKind::Destructor):
|
||||
return {DeclBaseName::Kind::Destructor, StringRef()};
|
||||
default:
|
||||
llvm_unreachable("Unknown DeclNameKind");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user