mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Serialization: Add missing 'init' special declname support to DeclMemberNamesTableInfo
Named lazy member loading skips constructors right now anyway for other reasons, but trying to re-enable it hits this problem first.
This commit is contained in:
@@ -561,6 +561,8 @@ public:
|
||||
return {DeclBaseName::Kind::Subscript, StringRef()};
|
||||
case static_cast<uint8_t>(DeclNameKind::Destructor):
|
||||
return {DeclBaseName::Kind::Destructor, StringRef()};
|
||||
case static_cast<uint8_t>(DeclNameKind::Constructor):
|
||||
return {DeclBaseName::Kind::Constructor, StringRef()};
|
||||
default:
|
||||
llvm_unreachable("Unknown DeclNameKind");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user