2010-12-23 20:21:44 +00:00
|
|
|
//===-- CommandObjectVersion.h ----------------------------------*- C++ -*-===//
|
|
|
|
|
//
|
2019-01-19 08:50:56 +00:00
|
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
|
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
|
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
2010-12-23 20:21:44 +00:00
|
|
|
//
|
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
2020-02-17 15:57:45 -08:00
|
|
|
#ifndef LLDB_SOURCE_COMMANDS_COMMANDOBJECTVERSION_H
|
|
|
|
|
#define LLDB_SOURCE_COMMANDS_COMMANDOBJECTVERSION_H
|
2010-12-23 20:21:44 +00:00
|
|
|
|
|
|
|
|
#include "lldb/Interpreter/CommandObject.h"
|
|
|
|
|
|
|
|
|
|
namespace lldb_private {
|
|
|
|
|
|
|
|
|
|
// CommandObjectVersion
|
|
|
|
|
|
2012-06-08 21:56:10 +00:00
|
|
|
class CommandObjectVersion : public CommandObjectParsed {
|
2010-12-23 20:21:44 +00:00
|
|
|
public:
|
|
|
|
|
CommandObjectVersion(CommandInterpreter &interpreter);
|
|
|
|
|
|
2015-09-02 09:33:09 +00:00
|
|
|
~CommandObjectVersion() override;
|
2010-12-23 20:21:44 +00:00
|
|
|
|
2012-06-08 21:56:10 +00:00
|
|
|
protected:
|
2023-10-30 10:21:00 -10:00
|
|
|
void DoExecute(Args &args, CommandReturnObject &result) override;
|
2010-12-23 20:21:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
} // namespace lldb_private
|
|
|
|
|
|
2020-02-17 15:57:45 -08:00
|
|
|
#endif // LLDB_SOURCE_COMMANDS_COMMANDOBJECTVERSION_H
|