From 13d21e9ae103e4901416ebfdabd47ccf67a80d38 Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Wed, 7 Oct 2015 16:56:17 +0000 Subject: commands: Use override instead of virtual. Summary: This removes all uses of virtual on functions where override could be used, including on destructors. It also adds override where virtual was previously missing. Reviewers: clayborg, labath Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D13503 llvm-svn: 249564 --- lldb/source/Commands/CommandObjectPlugin.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lldb/source/Commands/CommandObjectPlugin.cpp') diff --git a/lldb/source/Commands/CommandObjectPlugin.cpp b/lldb/source/Commands/CommandObjectPlugin.cpp index 63fa4a82cf9..4c5a089dbce 100644 --- a/lldb/source/Commands/CommandObjectPlugin.cpp +++ b/lldb/source/Commands/CommandObjectPlugin.cpp @@ -41,7 +41,7 @@ public: m_arguments.push_back (arg1); } - ~CommandObjectPluginLoad () + ~CommandObjectPluginLoad () override { } @@ -53,7 +53,7 @@ public: int match_start_point, int max_return_elements, bool &word_complete, - StringList &matches) + StringList &matches) override { std::string completion_str (input.GetArgumentAtIndex(cursor_index)); completion_str.erase (cursor_char_position); @@ -71,7 +71,7 @@ public: protected: bool - DoExecute (Args& command, CommandReturnObject &result) + DoExecute (Args& command, CommandReturnObject &result) override { size_t argc = command.GetArgumentCount(); -- cgit v1.2.3