summaryrefslogtreecommitdiff
path: root/lib/Support/Windows/Program.inc
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-02-24 01:07:38 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-02-24 01:07:38 +0000
commit6822655f561a62ebafd3ce35c62fefebcea5f1b1 (patch)
treeeafb71bae9dcc9d4a2d4a63d53e8f4ad3085f990 /lib/Support/Windows/Program.inc
parent66312539071bb2df545be7fda5b56afe15c04101 (diff)
downloadllvm-6822655f561a62ebafd3ce35c62fefebcea5f1b1.tar.gz
llvm-6822655f561a62ebafd3ce35c62fefebcea5f1b1.tar.bz2
llvm-6822655f561a62ebafd3ce35c62fefebcea5f1b1.tar.xz
Delete dead code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202001 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Windows/Program.inc')
-rw-r--r--lib/Support/Windows/Program.inc7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/Support/Windows/Program.inc b/lib/Support/Windows/Program.inc
index 365e87eea5..1b777084c7 100644
--- a/lib/Support/Windows/Program.inc
+++ b/lib/Support/Windows/Program.inc
@@ -437,13 +437,6 @@ error_code sys::ChangeStdoutToBinary(){
return make_error_code(errc::success);
}
-error_code sys::ChangeStderrToBinary(){
- int result = _setmode( _fileno(stderr), _O_BINARY );
- if (result == -1)
- return error_code(errno, generic_category());
- return make_error_code(errc::success);
-}
-
bool llvm::sys::argumentsFitWithinSystemLimits(ArrayRef<const char*> Args) {
// The documented max length of the command line passed to CreateProcess.
static const size_t MaxCommandStringLength = 32768;