diff options
author | Colin Riley <colin@codeplay.com> | 2015-05-04 18:39:38 +0000 |
---|---|---|
committer | Colin Riley <colin@codeplay.com> | 2015-05-04 18:39:38 +0000 |
commit | c9c55a26bd7fe1962ea1529ee0d0ccd0ea9f90da (patch) | |
tree | ac09f34d9dfecf32c8ca0e7c3528df34200e79af /lldb/source/Commands/CommandObjectLanguage.h | |
parent | b61f06c9c252e11f633626555bb444f30eb2d8ec (diff) | |
download | llvm-c9c55a26bd7fe1962ea1529ee0d0ccd0ea9f90da.zip llvm-c9c55a26bd7fe1962ea1529ee0d0ccd0ea9f90da.tar.gz llvm-c9c55a26bd7fe1962ea1529ee0d0ccd0ea9f90da.tar.bz2 |
Add language command and LanguageRuntime plugin changes to allow vending of command objects.
Differential Revision: http://reviews.llvm.org/D9402
llvm-svn: 236443
Diffstat (limited to 'lldb/source/Commands/CommandObjectLanguage.h')
-rw-r--r-- | lldb/source/Commands/CommandObjectLanguage.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/lldb/source/Commands/CommandObjectLanguage.h b/lldb/source/Commands/CommandObjectLanguage.h new file mode 100644 index 0000000..751fe14 --- /dev/null +++ b/lldb/source/Commands/CommandObjectLanguage.h @@ -0,0 +1,41 @@ +//===-- CommandObjectLanguage.h ---------------------------------*- C++ -*-===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + +#ifndef liblldb_CommandObjectLanguage_h_ +#define liblldb_CommandObjectLanguage_h_ + +// C Includes +// C++ Includes + + +// Other libraries and framework includes +// Project includes + +#include "lldb/lldb-types.h" +#include "lldb/Interpreter/CommandObjectMultiword.h" + +namespace lldb_private { + class CommandObjectLanguage : public CommandObjectMultiword + { + public: + CommandObjectLanguage (CommandInterpreter &interpreter); + + virtual + ~CommandObjectLanguage (); + + virtual void + GenerateHelpText (Stream &output_stream); + + protected: + bool + DoExecute (Args& command, CommandReturnObject &result); + }; +} // namespace lldb_private + +#endif // liblldb_CommandObjectLanguage_h_ |