aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectTarget.cpp
diff options
context:
space:
mode:
authorAlex Langford <alangford@apple.com>2023-07-10 13:19:13 -0700
committerAlex Langford <alangford@apple.com>2023-07-11 10:36:11 -0700
commit1d796b48e4d48bd0e4b29972a1b8d653493ee30c (patch)
tree1373dad8bebbc4f5097abbdfc26938f77d9547a6 /lldb/source/Commands/CommandObjectTarget.cpp
parent95d62344c0ebd1c150ef368779af6a31213587c7 (diff)
downloadllvm-1d796b48e4d48bd0e4b29972a1b8d653493ee30c.zip
llvm-1d796b48e4d48bd0e4b29972a1b8d653493ee30c.tar.gz
llvm-1d796b48e4d48bd0e4b29972a1b8d653493ee30c.tar.bz2
[lldb][NFCI] Methods to load scripting resources should take a Stream by reference
These methods all take a `Stream *` to get feedback about what's going on. By default, it's a nullptr, but we always feed it with a valid pointer. It would therefore make more sense to have this take a reference. Differential Revision: https://reviews.llvm.org/D154883
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 1b40651b..3e024ff 100644
--- a/lldb/source/Commands/CommandObjectTarget.cpp
+++ b/lldb/source/Commands/CommandObjectTarget.cpp
@@ -4219,7 +4219,7 @@ protected:
Status error;
StreamString feedback_stream;
module_sp->LoadScriptingResourceInTarget(target, error,
- &feedback_stream);
+ feedback_stream);
if (error.Fail() && error.AsCString())
result.AppendWarningWithFormat(
"unable to load scripting data for module %s - error "