kastiglione added inline comments.
================
Comment at: lldb/source/Commands/CommandObjectScript.cpp:50-51
+
+ std::tie(head, tail) = tail.split(' ');
+ if (head != "-l" && head != "--language")
+ return CommandParsed(command);
----------------
generally, lldb supports more than space delimited flags. For example I often
type `expr -lobjc -- ...` with no space. A quick check shows `--language=objc`
is also supported. Should these cases be handled too?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86996/new/
https://reviews.llvm.org/D86996
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits