summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectDisassemble.h
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2015-09-02 09:33:09 +0000
committerPavel Labath <labath@google.com>2015-09-02 09:33:09 +0000
commit1fb7e202d968912850c816fa56ced2579221dc06 (patch)
treec0a10368ab723ad80bc7e09ff830f4a485eebf58 /lldb/source/Commands/CommandObjectDisassemble.h
parent4407b8eba1cfbf3e11ecd383a29c6a56a680587a (diff)
downloadbcm5719-llvm-1fb7e202d968912850c816fa56ced2579221dc06.tar.gz
bcm5719-llvm-1fb7e202d968912850c816fa56ced2579221dc06.zip
Fix Clang-tidy misc-use-override warnings in source/Commands headers, unify closing inclusion guards
patch by Eugene Zelenko. Differential Revision: http://reviews.llvm.org/D12207 llvm-svn: 246628
Diffstat (limited to 'lldb/source/Commands/CommandObjectDisassemble.h')
-rw-r--r--lldb/source/Commands/CommandObjectDisassemble.h30
1 files changed, 13 insertions, 17 deletions
diff --git a/lldb/source/Commands/CommandObjectDisassemble.h b/lldb/source/Commands/CommandObjectDisassemble.h
index 7a7509858b9..d892824d017 100644
--- a/lldb/source/Commands/CommandObjectDisassemble.h
+++ b/lldb/source/Commands/CommandObjectDisassemble.h
@@ -33,17 +33,16 @@ public:
CommandOptions (CommandInterpreter &interpreter);
- 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;
void
- OptionParsingStarting ();
+ OptionParsingStarting() override;
const OptionDefinition*
- GetDefinitions ();
+ GetDefinitions() override;
const char *
GetPluginName ()
@@ -61,8 +60,8 @@ public:
return flavor_string.c_str();
}
- virtual Error
- OptionParsingFinished ();
+ Error
+ OptionParsingFinished() override;
bool show_mixed; // Show mixed source/assembly
bool show_bytes;
@@ -86,25 +85,22 @@ public:
CommandObjectDisassemble (CommandInterpreter &interpreter);
- virtual
- ~CommandObjectDisassemble ();
+ ~CommandObjectDisassemble() override;
- virtual
Options *
- GetOptions ()
+ GetOptions() override
{
return &m_options;
}
protected:
- virtual bool
- DoExecute (Args& command,
- CommandReturnObject &result);
+ bool
+ DoExecute(Args& command,
+ CommandReturnObject &result) override;
CommandOptions m_options;
-
};
} // namespace lldb_private
-#endif // liblldb_CommandObjectDisassemble_h_
+#endif // liblldb_CommandObjectDisassemble_h_
OpenPOWER on IntegriCloud