mirror of
https://github.com/intel/llvm.git
synced 2026-01-20 01:58:44 +08:00
[lldb][NFC] Use raw_ostream instead of Stream in Baton::GetDescription
Removing raw_ostream here is getting us closer to removing LLDB's Stream class.
This commit is contained in:
committed by
Raphael Isemann
parent
76b70f6f75
commit
4f728bfc13
@@ -611,10 +611,10 @@ protected:
|
||||
const Baton *baton = wp_options->GetBaton();
|
||||
if (baton) {
|
||||
result.GetOutputStream().Printf("Watchpoint %u:\n", cur_wp_id);
|
||||
result.GetOutputStream().IndentMore();
|
||||
baton->GetDescription(&result.GetOutputStream(),
|
||||
eDescriptionLevelFull);
|
||||
result.GetOutputStream().IndentLess();
|
||||
baton->GetDescription(result.GetOutputStream().AsRawOstream(),
|
||||
eDescriptionLevelFull,
|
||||
result.GetOutputStream().GetIndentLevel() +
|
||||
2);
|
||||
} else {
|
||||
result.AppendMessageWithFormat(
|
||||
"Watchpoint %u does not have an associated command.\n",
|
||||
|
||||
Reference in New Issue
Block a user