forked from OSchip/llvm-project
[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:
parent
875b3b2cdd
commit
bea2d5e478
|
@ -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
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue