LLDB
mainline
llvm-project
lldb
source
Commands
CommandObjectQuit.h
Go to the documentation of this file.
1
//===-- CommandObjectQuit.h -------------------------------------*- C++ -*-===//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
8
9
#ifndef LLDB_SOURCE_COMMANDS_COMMANDOBJECTQUIT_H
10
#define LLDB_SOURCE_COMMANDS_COMMANDOBJECTQUIT_H
11
12
#include "
lldb/Interpreter/CommandObject.h
"
13
14
namespace
lldb_private
{
15
16
// CommandObjectQuit
17
18
class
CommandObjectQuit
:
public
CommandObjectParsed
{
19
public
:
20
CommandObjectQuit
(
CommandInterpreter
&interpreter);
21
22
~CommandObjectQuit
()
override
;
23
24
protected
:
25
bool
DoExecute
(
Args
&args,
CommandReturnObject
&result)
override
;
26
27
bool
ShouldAskForConfirmation
(
bool
&is_a_detach);
28
};
29
30
}
// namespace lldb_private
31
32
#endif // LLDB_SOURCE_COMMANDS_COMMANDOBJECTQUIT_H
lldb_private::CommandObjectParsed
Definition:
CommandObject.h:393
lldb_private::Args
Definition:
Args.h:33
lldb_private::CommandObjectQuit::CommandObjectQuit
CommandObjectQuit(CommandInterpreter &interpreter)
Definition:
CommandObjectQuit.cpp:21
lldb_private::CommandObjectQuit
Definition:
CommandObjectQuit.h:18
lldb_private::CommandInterpreter
Definition:
CommandInterpreter.h:214
lldb_private::CommandObjectQuit::ShouldAskForConfirmation
bool ShouldAskForConfirmation(bool &is_a_detach)
Definition:
CommandObjectQuit.cpp:30
lldb_private::CommandObjectQuit::DoExecute
bool DoExecute(Args &args, CommandReturnObject &result) override
Definition:
CommandObjectQuit.cpp:62
lldb_private::CommandReturnObject
Definition:
CommandReturnObject.h:26
CommandObject.h
lldb_private
A class that represents a running process on the host machine.
Definition:
SBCommandInterpreterRunOptions.h:16
lldb_private::CommandObjectQuit::~CommandObjectQuit
~CommandObjectQuit() override
Generated on Thu May 19 2022 08:09:44 for LLDB by
1.8.17