Path: blob/main/contrib/llvm-project/lldb/source/Commands/CommandObjectQuit.h
39587 views
//===-- CommandObjectQuit.h -------------------------------------*- C++ -*-===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//78#ifndef LLDB_SOURCE_COMMANDS_COMMANDOBJECTQUIT_H9#define LLDB_SOURCE_COMMANDS_COMMANDOBJECTQUIT_H1011#include "lldb/Interpreter/CommandObject.h"1213namespace lldb_private {1415// CommandObjectQuit1617class CommandObjectQuit : public CommandObjectParsed {18public:19CommandObjectQuit(CommandInterpreter &interpreter);2021~CommandObjectQuit() override;2223protected:24void DoExecute(Args &args, CommandReturnObject &result) override;2526bool ShouldAskForConfirmation(bool &is_a_detach);27};2829} // namespace lldb_private3031#endif // LLDB_SOURCE_COMMANDS_COMMANDOBJECTQUIT_H323334