1 //===-- CommandObjectVersion.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 liblldb_CommandObjectVersion_h_ 10 #define liblldb_CommandObjectVersion_h_ 11 12 #include "lldb/Interpreter/CommandObject.h" 13 14 namespace lldb_private { 15 16 //------------------------------------------------------------------------- 17 // CommandObjectVersion 18 //------------------------------------------------------------------------- 19 20 class CommandObjectVersion : public CommandObjectParsed { 21 public: 22 CommandObjectVersion(CommandInterpreter &interpreter); 23 24 ~CommandObjectVersion() override; 25 26 protected: 27 bool DoExecute(Args &args, CommandReturnObject &result) override; 28 }; 29 30 } // namespace lldb_private 31 32 #endif // liblldb_CommandObjectVersion_h_ 33