@@ -203,9 +203,6 @@ void CommandObjectExpression::CommandOptions::OptionParsingStarting(
203
203
try_all_threads = true ;
204
204
timeout = 0 ;
205
205
debug = false ;
206
- #ifdef LLDB_CONFIGURATION_DEBUG
207
- playground = false ;
208
- #endif
209
206
language = eLanguageTypeUnknown;
210
207
m_verbosity = eLanguageRuntimeDescriptionDisplayVerbosityCompact;
211
208
auto_apply_fixits = eLazyBoolCalculate;
@@ -229,11 +226,6 @@ CommandObjectExpression::CommandObjectExpression(
229
226
m_option_group(), m_format_options(eFormatDefault),
230
227
m_repl_option(LLDB_OPT_SET_1, false , " repl" , ' r' , " Drop into Swift REPL" ,
231
228
false , true ),
232
- #ifdef LLDB_CONFIGURATION_DEBUG
233
- m_playground_option (LLDB_OPT_SET_1, false , " playground" , ' z' ,
234
- " Execute the expresssion as a playground expression" ,
235
- false , true ),
236
- #endif
237
229
m_command_options(), m_expr_line_count(0 ), m_expr_lines() {
238
230
SetHelpLong (
239
231
R"(
@@ -308,9 +300,6 @@ format."
308
300
m_option_group.Append (&m_varobj_options, LLDB_OPT_SET_ALL,
309
301
LLDB_OPT_SET_1 | LLDB_OPT_SET_2);
310
302
m_option_group.Append (&m_repl_option, LLDB_OPT_SET_ALL, LLDB_OPT_SET_3);
311
- #ifdef LLDB_CONFIGURATION_DEBUG
312
- m_option_group.Append (&m_playground_option, LLDB_OPT_SET_ALL, LLDB_OPT_SET_1);
313
- #endif
314
303
m_option_group.Finalize ();
315
304
}
316
305
@@ -422,9 +411,6 @@ bool CommandObjectExpression::EvaluateExpression(llvm::StringRef expr,
422
411
options.SetUseDynamic (m_varobj_options.use_dynamic );
423
412
options.SetTryAllThreads (m_command_options.try_all_threads );
424
413
options.SetDebug (m_command_options.debug );
425
- #ifdef LLDB_CONFIGURATION_DEBUG
426
- options.SetPlaygroundTransformEnabled (m_command_options.playground );
427
- #endif
428
414
429
415
// If the language was not specified in the expression command,
430
416
// set it to the language in the target's properties if
@@ -656,11 +642,6 @@ bool CommandObjectExpression::DoExecute(llvm::StringRef command,
656
642
if (!ParseOptionsAndNotify (args.GetArgs (), result, m_option_group, exe_ctx))
657
643
return false ;
658
644
659
- #ifdef LLDB_CONFIGURATION_DEBUG
660
- m_command_options.playground =
661
- m_playground_option.GetOptionValue ().GetCurrentValue ();
662
- #endif
663
-
664
645
if (m_repl_option.GetOptionValue ().GetCurrentValue ()) {
665
646
Target *target = m_interpreter.GetExecutionContext ().GetTargetPtr ();
666
647
0 commit comments