[PATCH] D58643: [Support] Make raw_string_ostream unbuffered
Reid Kleckner via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 25 12:43:54 PST 2019
rnk accepted this revision.
rnk added a comment.
This revision is now accepted and ready to land.
lgtm
Leaving flush alone is fine.
================
Comment at: include/llvm/Support/raw_ostream.h:497
+ explicit raw_string_ostream(std::string &O)
+ : raw_ostream(/*Unbuffered=*/true), OS(O) {}
+
----------------
Huh, I suppose that is nicer than calling SetUnbuffered.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D58643/new/
https://reviews.llvm.org/D58643
More information about the llvm-commits
mailing list