Skip to content

Commit 3ec9866

Browse files
committed
[lldb] Remove unused methods that were removed from superclass
1 parent 78598ae commit 3ec9866

File tree

2 files changed

+0
-24
lines changed

2 files changed

+0
-24
lines changed

lldb/source/Plugins/TypeSystem/Swift/TypeSystemSwift.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,6 @@ void TypeSystemSwift::Terminate() {
7171

7272
/// \}
7373

74-
void TypeSystemSwift::DumpValue(
75-
lldb::opaque_compiler_type_t type, ExecutionContext *exe_ctx, Stream &s,
76-
lldb::Format format, const DataExtractor &data, lldb::offset_t data_offset,
77-
size_t data_byte_size, uint32_t bitfield_bit_size,
78-
uint32_t bitfield_bit_offset, bool show_types, bool show_summary,
79-
bool verbose, uint32_t depth) {}
80-
8174
void TypeSystemSwift::Dump(llvm::raw_ostream &output) {
8275
// TODO: What to dump?
8376
}

lldb/source/Plugins/TypeSystem/Swift/TypeSystemSwift.h

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -187,13 +187,6 @@ class TypeSystemSwift : public TypeSystem {
187187
/// For example, int is converted to Int32.
188188
virtual CompilerType ConvertClangTypeToSwiftType(CompilerType clang_type) = 0;
189189

190-
void DumpValue(lldb::opaque_compiler_type_t type, ExecutionContext *exe_ctx,
191-
Stream &s, lldb::Format format, const DataExtractor &data,
192-
lldb::offset_t data_offset, size_t data_byte_size,
193-
uint32_t bitfield_bit_size, uint32_t bitfield_bit_offset,
194-
bool show_types, bool show_summary, bool verbose,
195-
uint32_t depth) override;
196-
197190
/// \see lldb_private::TypeSystem::Dump
198191
void Dump(llvm::raw_ostream &output) override;
199192

@@ -231,10 +224,6 @@ class TypeSystemSwift : public TypeSystem {
231224
return {};
232225
}
233226
bool IsScalarType(lldb::opaque_compiler_type_t type) override;
234-
bool IsCStringType(lldb::opaque_compiler_type_t type,
235-
uint32_t &length) override {
236-
return false;
237-
}
238227
bool IsVectorType(lldb::opaque_compiler_type_t type,
239228
CompilerType *element_type, uint64_t *size) override {
240229
return false;
@@ -323,12 +312,6 @@ class TypeSystemSwift : public TypeSystem {
323312
CompilerType GetNonReferenceType(lldb::opaque_compiler_type_t type) override {
324313
return {};
325314
}
326-
327-
// TODO: This method appear unused. Should they be removed?
328-
void DumpSummary(lldb::opaque_compiler_type_t type, ExecutionContext *exe_ctx,
329-
Stream &s, const DataExtractor &data,
330-
lldb::offset_t data_offset, size_t data_byte_size) override {
331-
}
332315
/// \}
333316
protected:
334317
/// Used in the logs.

0 commit comments

Comments
 (0)