diff options
author | dim <dim@FreeBSD.org> | 2014-02-26 22:26:40 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2014-02-26 22:26:40 +0000 |
commit | 09b56e694e5d4e67943f0d9c4668282053726b9f (patch) | |
tree | c09cd2cd8b06020ff76cb9b8f704cb7490621bcd /contrib/llvm/tools/lldb/source/Commands/CommandObjectExpression.h | |
parent | 7d9059111716cc2ad4ad6f2782a9a03edcd2a81f (diff) | |
parent | 6765240e8d836b50e2135e928456ed8923b220ad (diff) | |
download | FreeBSD-src-09b56e694e5d4e67943f0d9c4668282053726b9f.zip FreeBSD-src-09b56e694e5d4e67943f0d9c4668282053726b9f.tar.gz |
Merge from head up to r262536.
Diffstat (limited to 'contrib/llvm/tools/lldb/source/Commands/CommandObjectExpression.h')
-rw-r--r-- | contrib/llvm/tools/lldb/source/Commands/CommandObjectExpression.h | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/contrib/llvm/tools/lldb/source/Commands/CommandObjectExpression.h b/contrib/llvm/tools/lldb/source/Commands/CommandObjectExpression.h index e0703a2..c943f0e 100644 --- a/contrib/llvm/tools/lldb/source/Commands/CommandObjectExpression.h +++ b/contrib/llvm/tools/lldb/source/Commands/CommandObjectExpression.h @@ -14,6 +14,7 @@ // C++ Includes // Other libraries and framework includes // Project includes +#include "lldb/Core/IOHandler.h" #include "lldb/Interpreter/CommandObject.h" #include "lldb/Interpreter/OptionGroupFormat.h" #include "lldb/Interpreter/OptionGroupValueObjectDisplay.h" @@ -21,7 +22,9 @@ namespace lldb_private { -class CommandObjectExpression : public CommandObjectRaw +class CommandObjectExpression : + public CommandObjectRaw, + public IOHandlerDelegate { public: @@ -71,17 +74,23 @@ public: GetOptions (); protected: + + //------------------------------------------------------------------ + // IOHandler::Delegate functions + //------------------------------------------------------------------ + virtual void + IOHandlerInputComplete (IOHandler &io_handler, + std::string &line); + + virtual LineStatus + IOHandlerLinesUpdated (IOHandler &io_handler, + StringList &lines, + uint32_t line_idx, + Error &error); virtual bool DoExecute (const char *command, CommandReturnObject &result); - static size_t - MultiLineExpressionCallback (void *baton, - InputReader &reader, - lldb::InputReaderAction notification, - const char *bytes, - size_t bytes_len); - bool EvaluateExpression (const char *expr, Stream *output_stream, |