davide added inline comments.

================
Comment at: lldb/source/Commands/CommandObjectExpression.cpp:626
 
+  Target *target = m_interpreter.GetExecutionContext().GetTargetPtr();
+  if (!target)
----------------
jingham wrote:
> This is what CommandObject::GetSelectedOrDummy target is for.
I just moved existing code, but I agree it's better using this API.


https://reviews.llvm.org/D45547



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to