diff options
Diffstat (limited to 'source/Commands/CommandObjectExpression.h')
-rw-r--r-- | source/Commands/CommandObjectExpression.h | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/source/Commands/CommandObjectExpression.h b/source/Commands/CommandObjectExpression.h index 7103675f39924..3445aef276654 100644 --- a/source/Commands/CommandObjectExpression.h +++ b/source/Commands/CommandObjectExpression.h @@ -14,13 +14,13 @@ // C++ Includes // Other libraries and framework includes // Project includes +#include "lldb/lldb-private-enumerations.h" #include "lldb/Core/IOHandler.h" #include "lldb/Interpreter/CommandObject.h" #include "lldb/Interpreter/OptionGroupBoolean.h" #include "lldb/Interpreter/OptionGroupFormat.h" #include "lldb/Interpreter/OptionGroupValueObjectDisplay.h" #include "lldb/Target/ExecutionContext.h" - namespace lldb_private { class CommandObjectExpression : @@ -54,8 +54,10 @@ public: // Options table: Required for subclasses of Options. static OptionDefinition g_option_table[]; + bool top_level; bool unwind_on_error; bool ignore_breakpoints; + bool allow_jit; bool show_types; bool show_summary; bool debug; @@ -63,6 +65,7 @@ public: bool try_all_threads; lldb::LanguageType language; LanguageRuntimeDescriptionDisplayVerbosity m_verbosity; + LazyBool auto_apply_fixits; }; CommandObjectExpression (CommandInterpreter &interpreter); @@ -80,12 +83,11 @@ protected: void IOHandlerInputComplete(IOHandler &io_handler, std::string &line) override; - - virtual LineStatus - IOHandlerLinesUpdated (IOHandler &io_handler, - StringList &lines, - uint32_t line_idx, - Error &error); + + bool + IOHandlerIsInputComplete (IOHandler &io_handler, + StringList &lines) override; + bool DoExecute(const char *command, CommandReturnObject &result) override; @@ -106,6 +108,7 @@ protected: CommandOptions m_command_options; uint32_t m_expr_line_count; std::string m_expr_lines; // Multi-line expression support + std::string m_fixed_expression; // Holds the current expression's fixed text. }; } // namespace lldb_private |