diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2019-04-27 06:19:42 +0000 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2019-04-27 06:19:42 +0000 |
commit | 57179860a0547afc482171ef304976c7761a3fd8 (patch) | |
tree | d62c85bdab803d12e4f0bc7310a441fe70db01e1 /lldb/source/Commands/CommandObjectApropos.cpp | |
parent | 40dfc3920e022beb920b7236bfdcce0e037d8e0e (diff) | |
download | bcm5719-llvm-57179860a0547afc482171ef304976c7761a3fd8.tar.gz bcm5719-llvm-57179860a0547afc482171ef304976c7761a3fd8.zip |
[CommandObject] Use GetDebugger() helper method (NFC)
In r359354 a GetDebugger() method was added to the CommandObject class,
so that we didn't have to go through the command interpreter to obtain
the script interpreter. This patch simplifies other call sites where
m_interpreter.GetDebugger() was used, and replaces them with a shorter
call to the new method.
llvm-svn: 359373
Diffstat (limited to 'lldb/source/Commands/CommandObjectApropos.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectApropos.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectApropos.cpp b/lldb/source/Commands/CommandObjectApropos.cpp index 0ee47c89c7a..957de475569 100644 --- a/lldb/source/Commands/CommandObjectApropos.cpp +++ b/lldb/source/Commands/CommandObjectApropos.cpp @@ -80,7 +80,7 @@ bool CommandObjectApropos::DoExecute(Args &args, CommandReturnObject &result) { std::vector<const Property *> properties; const size_t num_properties = - m_interpreter.GetDebugger().Apropos(search_word, properties); + GetDebugger().Apropos(search_word, properties); if (num_properties) { const bool dump_qualified_name = true; result.AppendMessageWithFormatv( |