aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectTarget.cpp
diff options
context:
space:
mode:
authorAlex Langford <alangford@apple.com>2023-06-27 13:48:27 -0700
committerAlex Langford <alangford@apple.com>2023-07-03 11:39:38 -0700
commitb709149b76277e8bea4a3d7977ccb4e818499b7b (patch)
treefe3d56f7ebb7d83f9b09dec09ee5ec1615f73c2d /lldb/source/Commands/CommandObjectTarget.cpp
parentc9b31dae56f155ed08cc855dffe7eae2ea8cd30d (diff)
downloadllvm-b709149b76277e8bea4a3d7977ccb4e818499b7b.zip
llvm-b709149b76277e8bea4a3d7977ccb4e818499b7b.tar.gz
llvm-b709149b76277e8bea4a3d7977ccb4e818499b7b.tar.bz2
[lldb][NFCI] Target::StopHook::GetDescription should take a Stream ref instead of pointer
We always assume that this is valid anyway, might as well take a reference. Differential Revision: https://reviews.llvm.org/D153917
Diffstat (limited to 'lldb/source/Commands/CommandObjectTarget.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectTarget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectTarget.cpp b/lldb/source/Commands/CommandObjectTarget.cpp
index 2204594..b186c8e 100644
--- a/lldb/source/Commands/CommandObjectTarget.cpp
+++ b/lldb/source/Commands/CommandObjectTarget.cpp
@@ -5057,7 +5057,7 @@ protected:
Target::StopHookSP this_hook = target.GetStopHookAtIndex(i);
if (i > 0)
result.GetOutputStream().PutCString("\n");
- this_hook->GetDescription(&(result.GetOutputStream()),
+ this_hook->GetDescription(result.GetOutputStream(),
eDescriptionLevelFull);
}
}