LLDB mainline
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
13
14namespace lldb_private {
15
16// CommandObjectQuit
17
19public:
21
23
24protected:
25 void 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
A command line argument class.
Definition: Args.h:33
void DoExecute(Args &args, CommandReturnObject &result) override
bool ShouldAskForConfirmation(bool &is_a_detach)
A class that represents a running process on the host machine.