Delete dead code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202001 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola
2014-02-24 01:07:38 +00:00
parent 6631253907
commit 6822655f56
3 changed files with 2 additions and 15 deletions

View File

@@ -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;