zturner added a comment. Give me a few more hours, if there's a way to make this work with `line_iterator` I'd really prefer that since I think it improves readability. Can you confirm that if you were able to write:
auto begin = line_iterator(str, /* skip_empty_lines =*/ false); auto end = line_iterator(); while (begin != end && !WasInterrupted()) { stream.Write(*begin); if (++begin != end) stream.Write("\n"); } That this would be equivalent? https://reviews.llvm.org/D37923 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits