jingham added a comment.

Might be clearer to do:

  if (target_file.GetDirectory().IsEmpty()) {
      error...
  }
  std::string directory = ...

Avoids the extra variable and also adds the check for "", which I don't think 
we want to add to sys.path either.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D57964/new/

https://reviews.llvm.org/D57964



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

Reply via email to