[lldb][NFC] Remove unused ValueObject::LogValueObject functions

Those functions aren't called anywhere. For debugging purposes we usually
have Dump() methods (which already exist in some semi-functional form in
ValueObject).
This commit is contained in:
Raphael Isemann 2021-02-23 12:10:39 +01:00
parent 875b3b2cdd
commit bea2d5e478
2 changed files with 0 additions and 19 deletions

View File

@ -656,10 +656,6 @@ public:
CreateValueObjectFromData(llvm::StringRef name, const DataExtractor &data,
const ExecutionContext &exe_ctx, CompilerType type);
void LogValueObject(Log *log);
void LogValueObject(Log *log, const DumpValueObjectOptions &options);
lldb::ValueObjectSP Persist();
/// Returns true if this is a char* or a char[] if it is a char* and

View File

@ -2617,21 +2617,6 @@ ValueObjectSP ValueObject::GetValueForExpressionPath_Impl(
}
}
void ValueObject::LogValueObject(Log *log) {
if (log)
return LogValueObject(log, DumpValueObjectOptions(*this));
}
void ValueObject::LogValueObject(Log *log,
const DumpValueObjectOptions &options) {
if (log) {
StreamString s;
Dump(s, options);
if (s.GetSize())
log->PutCString(s.GetData());
}
}
void ValueObject::Dump(Stream &s) { Dump(s, DumpValueObjectOptions(*this)); }
void ValueObject::Dump(Stream &s, const DumpValueObjectOptions &options) {