[mlir][int-range] Limit xor int range inference to i1 (#116968)
[llvm-project.git] / lldb / source / Commands / CommandObjectQuit.h
blobc27c0d1da3b9e9d3d8f089bd3dca793701ebd765
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 //===----------------------------------------------------------------------===//
9 #ifndef LLDB_SOURCE_COMMANDS_COMMANDOBJECTQUIT_H
10 #define LLDB_SOURCE_COMMANDS_COMMANDOBJECTQUIT_H
12 #include "lldb/Interpreter/CommandObject.h"
14 namespace lldb_private {
16 // CommandObjectQuit
18 class CommandObjectQuit : public CommandObjectParsed {
19 public:
20 CommandObjectQuit(CommandInterpreter &interpreter);
22 ~CommandObjectQuit() override;
24 protected:
25 void DoExecute(Args &args, CommandReturnObject &result) override;
27 bool ShouldAskForConfirmation(bool &is_a_detach);
30 } // namespace lldb_private
32 #endif // LLDB_SOURCE_COMMANDS_COMMANDOBJECTQUIT_H