File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -308,6 +308,12 @@ SBError Driver::ProcessArgs(const opt::InputArgList &args, bool &exiting) {
308
308
m_option_data.m_repl = true ;
309
309
}
310
310
311
+ if (auto *arg = args.getLastArg (OPT_repl_)) {
312
+ m_option_data.m_repl = true ;
313
+ if (auto arg_value = arg->getValue ())
314
+ m_option_data.m_repl_options = arg_value;
315
+ }
316
+
311
317
#ifdef LLDB_ENABLE_SWIFT
312
318
// For the Swift fork, we want to default to Swift if no REPL language is
313
319
// specified.
@@ -318,12 +324,6 @@ SBError Driver::ProcessArgs(const opt::InputArgList &args, bool &exiting) {
318
324
}
319
325
#endif // LLDB_ENABLE_SWIFT
320
326
321
- if (auto *arg = args.getLastArg (OPT_repl_)) {
322
- m_option_data.m_repl = true ;
323
- if (auto arg_value = arg->getValue ())
324
- m_option_data.m_repl_options = arg_value;
325
- }
326
-
327
327
// We need to process the options below together as their relative order
328
328
// matters.
329
329
for (auto *arg : args.filtered (OPT_source_on_crash, OPT_one_line_on_crash,
You can’t perform that action at this time.
0 commit comments