summaryrefslogtreecommitdiff
path: root/source/Commands/CommandObjectQuit.h
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-01-02 19:26:05 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-01-02 19:26:05 +0000
commit14f1b3e8826ce43b978db93a62d1166055db5394 (patch)
tree0a00ad8d3498783fe0193f3b656bca17c4c8697d /source/Commands/CommandObjectQuit.h
parent4ee8c119c71a06dcad1e0fecc8c675e480e59337 (diff)
Notes
Diffstat (limited to 'source/Commands/CommandObjectQuit.h')
-rw-r--r--source/Commands/CommandObjectQuit.h17
1 files changed, 6 insertions, 11 deletions
diff --git a/source/Commands/CommandObjectQuit.h b/source/Commands/CommandObjectQuit.h
index df9216b7e7e3..f2998f8690fb 100644
--- a/source/Commands/CommandObjectQuit.h
+++ b/source/Commands/CommandObjectQuit.h
@@ -22,21 +22,16 @@ namespace lldb_private {
// CommandObjectQuit
//-------------------------------------------------------------------------
-class CommandObjectQuit : public CommandObjectParsed
-{
+class CommandObjectQuit : public CommandObjectParsed {
public:
+ CommandObjectQuit(CommandInterpreter &interpreter);
- CommandObjectQuit (CommandInterpreter &interpreter);
-
- ~CommandObjectQuit() override;
+ ~CommandObjectQuit() override;
protected:
- bool
- DoExecute(Args& args,
- CommandReturnObject &result) override;
-
- bool
- ShouldAskForConfirmation (bool& is_a_detach);
+ bool DoExecute(Args &args, CommandReturnObject &result) override;
+
+ bool ShouldAskForConfirmation(bool &is_a_detach);
};
} // namespace lldb_private