summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Unix/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
commitfbf741406ef468e8c978549144d7ded5d4428274 (patch)
treeeaec08bba79eb8be0617666c4dd1feb21ffcc55e /llvm/lib/Support/Unix/Program.inc
parent472d3b7037a79a7148d21d291f4c9dea15764a0f (diff)
downloadbcm5719-llvm-fbf741406ef468e8c978549144d7ded5d4428274.tar.gz
bcm5719-llvm-fbf741406ef468e8c978549144d7ded5d4428274.zip
Delete dead code.
llvm-svn: 202001
Diffstat (limited to 'llvm/lib/Support/Unix/Program.inc')
-rw-r--r--llvm/lib/Support/Unix/Program.inc5
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/Support/Unix/Program.inc b/llvm/lib/Support/Unix/Program.inc
index 5aa024a3352..b4df9284897 100644
--- a/llvm/lib/Support/Unix/Program.inc
+++ b/llvm/lib/Support/Unix/Program.inc
@@ -434,11 +434,6 @@ error_code sys::ChangeStdoutToBinary(){
return make_error_code(errc::success);
}
-error_code sys::ChangeStderrToBinary(){
- // Do nothing, as Unix doesn't differentiate between text and binary.
- return make_error_code(errc::success);
-}
-
bool llvm::sys::argumentsFitWithinSystemLimits(ArrayRef<const char*> Args) {
static long ArgMax = sysconf(_SC_ARG_MAX);
OpenPOWER on IntegriCloud