diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-04-16 07:59:39 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-04-16 07:59:39 +0000 |
commit | c9413c745bec9707064211bc5fd02cdfb153c92d (patch) | |
tree | b6d2457c04ea7afb6454b078205c611c94e811a6 /lib/Support/raw_ostream.cpp | |
parent | ffa6c40ecf502281ea171969b42a38c2eef0493f (diff) |
Revert r154800 which breaks windows builders.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154802 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/raw_ostream.cpp')
-rw-r--r-- | lib/Support/raw_ostream.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/Support/raw_ostream.cpp b/lib/Support/raw_ostream.cpp index 86cdca1572..72d3986f41 100644 --- a/lib/Support/raw_ostream.cpp +++ b/lib/Support/raw_ostream.cpp @@ -633,19 +633,6 @@ raw_ostream &raw_fd_ostream::resetColor() { return *this; } -raw_ostream &raw_fd_ostream::reverseColor() { - if (sys::Process::ColorNeedsFlush()) - flush(); - const char *colorcode = sys::Process::OutputReverse(); - if (colorcode) { - size_t len = strlen(colorcode); - write(colorcode, len); - // don't account colors towards output characters - pos -= len; - } - return *this; -} - bool raw_fd_ostream::is_displayed() const { return sys::Process::FileDescriptorIsDisplayed(FD); } |