================ @@ -52,16 +52,24 @@ struct StreamDescriptor { struct InputStream { StreamDescriptor descriptor; - bool read_full(std::ofstream *log, size_t length, std::string &text); + explicit InputStream(StreamDescriptor descriptor) + : descriptor(std::move(descriptor)) {}; - bool read_line(std::ofstream *log, std::string &line); + bool read_full(std::optional<std::ofstream> &log, size_t length, ---------------- ashgti wrote:
Reverted these changes. https://github.com/llvm/llvm-project/pull/120457 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits