diff options
Diffstat (limited to 'contrib/llvm/tools/lldb/source/Commands/CommandObjectWatchpointCommand.cpp')
-rw-r--r-- | contrib/llvm/tools/lldb/source/Commands/CommandObjectWatchpointCommand.cpp | 45 |
1 files changed, 20 insertions, 25 deletions
diff --git a/contrib/llvm/tools/lldb/source/Commands/CommandObjectWatchpointCommand.cpp b/contrib/llvm/tools/lldb/source/Commands/CommandObjectWatchpointCommand.cpp index 84342cc..2fa849f 100644 --- a/contrib/llvm/tools/lldb/source/Commands/CommandObjectWatchpointCommand.cpp +++ b/contrib/llvm/tools/lldb/source/Commands/CommandObjectWatchpointCommand.cpp @@ -169,17 +169,16 @@ are no syntax errors may indicate that a function was declared but never called. m_arguments.push_back (arg); } - virtual - ~CommandObjectWatchpointCommandAdd () {} + ~CommandObjectWatchpointCommandAdd () override {} - virtual Options * - GetOptions () + Options * + GetOptions () override { return &m_options; } - virtual void - IOHandlerActivated (IOHandler &io_handler) + void + IOHandlerActivated (IOHandler &io_handler) override { StreamFileSP output_sp(io_handler.GetOutputStreamFile()); if (output_sp) @@ -190,8 +189,8 @@ are no syntax errors may indicate that a function was declared but never called. } - virtual void - IOHandlerInputComplete (IOHandler &io_handler, std::string &line) + void + IOHandlerInputComplete (IOHandler &io_handler, std::string &line) override { io_handler.SetIsDone(true); @@ -301,11 +300,10 @@ are no syntax errors may indicate that a function was declared but never called. { } - virtual - ~CommandOptions () {} + ~CommandOptions () override {} - virtual Error - SetOptionValue (uint32_t option_idx, const char *option_arg) + Error + SetOptionValue (uint32_t option_idx, const char *option_arg) override { Error error; const int short_option = m_getopt_table[option_idx].val; @@ -356,7 +354,7 @@ are no syntax errors may indicate that a function was declared but never called. return error; } void - OptionParsingStarting () + OptionParsingStarting () override { m_use_commands = true; m_use_script_language = false; @@ -369,7 +367,7 @@ are no syntax errors may indicate that a function was declared but never called. } const OptionDefinition* - GetDefinitions () + GetDefinitions () override { return g_option_table; } @@ -392,8 +390,8 @@ are no syntax errors may indicate that a function was declared but never called. }; protected: - virtual bool - DoExecute (Args& command, CommandReturnObject &result) + bool + DoExecute (Args& command, CommandReturnObject &result) override { Target *target = m_interpreter.GetDebugger().GetSelectedTarget().get(); @@ -550,12 +548,11 @@ public: } - virtual - ~CommandObjectWatchpointCommandDelete () {} + ~CommandObjectWatchpointCommandDelete () override {} protected: - virtual bool - DoExecute (Args& command, CommandReturnObject &result) + bool + DoExecute (Args& command, CommandReturnObject &result) override { Target *target = m_interpreter.GetDebugger().GetSelectedTarget().get(); @@ -641,13 +638,11 @@ public: m_arguments.push_back (arg); } - virtual - ~CommandObjectWatchpointCommandList () {} + ~CommandObjectWatchpointCommandList () override {} protected: - virtual bool - DoExecute (Args& command, - CommandReturnObject &result) + bool + DoExecute (Args& command, CommandReturnObject &result) override { Target *target = m_interpreter.GetDebugger().GetSelectedTarget().get(); |