xiaobai added a comment.

After going through this and modifying this patch, I can't help but wonder if 
`llvm::Optional<TypeSystem &>` would be more appropriate. There are plenty of 
instances where it's not a hard error if you can't get a TypeSystem and the 
appropriate action is probably just to log and move on. I am conflicted because 
I like how Expected forces you to be more rigorous with error handling but I 
can't help but feel it is the wrong abstraction. Thoughts?


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

https://reviews.llvm.org/D65122



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

Reply via email to