summaryrefslogtreecommitdiff
path: root/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
commitc145fd3cf5f9b9bb666267869eb556c54cdd5194 (patch)
tree23cbd36525dc9cc3318368e76ec2e8e2c48b53ef /lib/Support/Unix/Program.inc
parent1028cc76ef8b40a933aba58cc531ccf466951771 (diff)
downloadllvm-c145fd3cf5f9b9bb666267869eb556c54cdd5194.tar.gz
llvm-c145fd3cf5f9b9bb666267869eb556c54cdd5194.tar.bz2
llvm-c145fd3cf5f9b9bb666267869eb556c54cdd5194.tar.xz
There is no std::errc::success, remove the llvm one.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209960 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Unix/Program.inc')
-rw-r--r--lib/Support/Unix/Program.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Support/Unix/Program.inc b/lib/Support/Unix/Program.inc
index 1225a9c042..f4c6cdf7e9 100644
--- a/lib/Support/Unix/Program.inc
+++ b/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) {