summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Unix/Program.inc
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-05-31 03:21:04 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-05-31 03:21:04 +0000
commita3f2e3f01ea8a83a7dd549fdcd55db76c1f07d77 (patch)
treebdeb4c696c0db038fc60d44c5a107e79ff99910f /llvm/lib/Support/Unix/Program.inc
parent3ae0620a45ea25a9e1062323a56a5717616b6bed (diff)
downloadbcm5719-llvm-a3f2e3f01ea8a83a7dd549fdcd55db76c1f07d77.tar.gz
bcm5719-llvm-a3f2e3f01ea8a83a7dd549fdcd55db76c1f07d77.zip
There is no std::errc::success, remove the llvm one.
llvm-svn: 209960
Diffstat (limited to 'llvm/lib/Support/Unix/Program.inc')
-rw-r--r--llvm/lib/Support/Unix/Program.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Support/Unix/Program.inc b/llvm/lib/Support/Unix/Program.inc
index 1225a9c042e..f4c6cdf7e99 100644
--- a/llvm/lib/Support/Unix/Program.inc
+++ b/llvm/lib/Support/Unix/Program.inc
@@ -427,12 +427,12 @@ ProcessInfo sys::Wait(const ProcessInfo &PI, unsigned SecondsToWait,
error_code sys::ChangeStdinToBinary(){
// Do nothing, as Unix doesn't differentiate between text and binary.
- return make_error_code(errc::success);
+ return error_code();
}
error_code sys::ChangeStdoutToBinary(){
// Do nothing, as Unix doesn't differentiate between text and binary.
- return make_error_code(errc::success);
+ return error_code();
}
bool llvm::sys::argumentsFitWithinSystemLimits(ArrayRef<const char*> Args) {
OpenPOWER on IntegriCloud