diff options
author | Kate Stone <katherine.stone@apple.com> | 2016-07-14 22:03:10 +0000 |
---|---|---|
committer | Kate Stone <katherine.stone@apple.com> | 2016-07-14 22:03:10 +0000 |
commit | 7428a18c1e9ba131022184746889b69308c0180d (patch) | |
tree | 0f7bd6a83507282c28d2309627a2f07165fb45b1 /lldb/source/Commands/CommandObjectExpression.cpp | |
parent | 36f57fbc66a70bc427805e47605d720c16dcf522 (diff) | |
download | bcm5719-llvm-7428a18c1e9ba131022184746889b69308c0180d.tar.gz bcm5719-llvm-7428a18c1e9ba131022184746889b69308c0180d.zip |
LLDB help content has accumulated over time without a recent attempt to
review it for consistency, accuracy, and clarity. These changes attempt to
address all of the above while keeping the text relatively terse.
<rdar://problem/24868841>
llvm-svn: 275485
Diffstat (limited to 'lldb/source/Commands/CommandObjectExpression.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectExpression.cpp | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/lldb/source/Commands/CommandObjectExpression.cpp b/lldb/source/Commands/CommandObjectExpression.cpp index 22d58fddcee..f2bd3ed367c 100644 --- a/lldb/source/Commands/CommandObjectExpression.cpp +++ b/lldb/source/Commands/CommandObjectExpression.cpp @@ -219,19 +219,18 @@ CommandObjectExpression::CommandOptions::GetDefinitions () return g_option_table; } -CommandObjectExpression::CommandObjectExpression (CommandInterpreter &interpreter) : - CommandObjectRaw(interpreter, - "expression", - "Evaluate an expression in the current program context, using user defined variables and variables currently in scope.", - nullptr, - eCommandProcessMustBePaused | eCommandTryTargetAPILock), - IOHandlerDelegate (IOHandlerDelegate::Completion::Expression), - m_option_group (interpreter), - m_format_options (eFormatDefault), - m_repl_option (LLDB_OPT_SET_1, false, "repl", 'r', "Drop into REPL", false, true), - m_command_options (), - m_expr_line_count (0), - m_expr_lines () +CommandObjectExpression::CommandObjectExpression(CommandInterpreter &interpreter) + : CommandObjectRaw( + interpreter, "expression", + "Evaluate an expression on the current thread. Displays any returned value with LLDB's default formatting.", + nullptr, eCommandProcessMustBePaused | eCommandTryTargetAPILock), + IOHandlerDelegate(IOHandlerDelegate::Completion::Expression), + m_option_group(interpreter), + m_format_options(eFormatDefault), + m_repl_option(LLDB_OPT_SET_1, false, "repl", 'r', "Drop into REPL", false, true), + m_command_options(), + m_expr_line_count(0), + m_expr_lines() { SetHelpLong( R"( |