Skip to content

Commit f628bac

Browse files
committed
[RemoteMirrors] Remove MultiPayloadEnumDescriptor from descriptor finder
Remote Mirrors is able to calculate type infos without needing MultiPayloadEnumDescriptors. Remove the functionality to look it up.
1 parent f5de38e commit f628bac

File tree

1 file changed

+0
-29
lines changed

1 file changed

+0
-29
lines changed

include/swift/RemoteInspection/DescriptorFinder.h

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -93,31 +93,6 @@ struct FieldDescriptorBase {
9393
getFieldRecords() = 0;
9494
};
9595

96-
// There are no longer any clients of this interface, but we
97-
// need to keep this stubbed out until all the
98-
// implementors have been removed. In particular, LLDB
99-
// still implements this interface.
100-
// TODO: Delete this after Swift 6.0 ships
101-
struct MultiPayloadEnumDescriptorBase {
102-
virtual ~MultiPayloadEnumDescriptorBase(){ abort(); };
103-
104-
virtual llvm::StringRef getMangledTypeName() { abort(); };
105-
106-
virtual uint32_t getContentsSizeInWords() const { abort(); };
107-
108-
virtual size_t getSizeInBytes() const { abort(); };
109-
110-
virtual uint32_t getFlags() const { abort(); };
111-
112-
virtual bool usesPayloadSpareBits() const { abort(); };
113-
114-
virtual uint32_t getPayloadSpareBitMaskByteOffset() const { abort(); };
115-
116-
virtual uint32_t getPayloadSpareBitMaskByteCount() const { abort(); };
117-
118-
virtual const uint8_t *getPayloadSpareBits() const { abort(); };
119-
};
120-
12196
/// Interface for finding type descriptors. Implementors may provide descriptors
12297
/// that live inside or outside reflection metadata.
12398
struct DescriptorFinder {
@@ -129,10 +104,6 @@ struct DescriptorFinder {
129104

130105
virtual std::unique_ptr<FieldDescriptorBase>
131106
getFieldDescriptor(const TypeRef *TR) = 0;
132-
133-
// TODO: Delete this as soon as LLDB no longer attempts to override it
134-
virtual std::unique_ptr<MultiPayloadEnumDescriptorBase>
135-
getMultiPayloadEnumDescriptor(const TypeRef *TR) { abort(); };
136107
};
137108

138109
} // namespace reflection

0 commit comments

Comments
 (0)