Skip to content

Commit a54c6c1

Browse files
committed
[rebranch][lldb] Add missing dump to TypeSystemSwift
9a57d1e added a `dump(llvm::raw_ostream)` to `TypeSsystem`. Implement in `TypeSystemSwift.
1 parent 06f2982 commit a54c6c1

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@ void TypeSystemSwift::DumpValue(
7979
uint32_t bitfield_bit_offset, bool show_types, bool show_summary,
8080
bool verbose, uint32_t depth) {}
8181

82+
void TypeSystemSwift::Dump(llvm::raw_ostream &output) {
83+
// TODO: What to dump?
84+
}
85+
8286
bool TypeSystemSwift::IsFloatingPointType(opaque_compiler_type_t type,
8387
uint32_t &count, bool &is_complex) {
8488
count = 0;

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,9 @@ class TypeSystemSwift : public TypeSystem {
169169
bool show_types, bool show_summary, bool verbose,
170170
uint32_t depth) override;
171171

172+
/// \see lldb_private::TypeSystem::Dump
173+
void Dump(llvm::raw_ostream &output) override;
174+
172175
/// Unavailable hardcoded functions that don't make sense for Swift.
173176
/// \{
174177
ConstString DeclContextGetName(void *opaque_decl_ctx) override { return {}; }

0 commit comments

Comments
 (0)