mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-21 23:17:16 +00:00
Remove 'using std::errro_code' from lib.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210871 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -48,7 +48,6 @@
|
||||
#endif
|
||||
|
||||
namespace llvm {
|
||||
using std::error_code;
|
||||
|
||||
using namespace sys;
|
||||
|
||||
@@ -427,14 +426,14 @@ ProcessInfo sys::Wait(const ProcessInfo &PI, unsigned SecondsToWait,
|
||||
return WaitResult;
|
||||
}
|
||||
|
||||
error_code sys::ChangeStdinToBinary(){
|
||||
std::error_code sys::ChangeStdinToBinary(){
|
||||
// Do nothing, as Unix doesn't differentiate between text and binary.
|
||||
return error_code();
|
||||
return std::error_code();
|
||||
}
|
||||
|
||||
error_code sys::ChangeStdoutToBinary(){
|
||||
std::error_code sys::ChangeStdoutToBinary(){
|
||||
// Do nothing, as Unix doesn't differentiate between text and binary.
|
||||
return error_code();
|
||||
return std::error_code();
|
||||
}
|
||||
|
||||
bool llvm::sys::argumentsFitWithinSystemLimits(ArrayRef<const char*> Args) {
|
||||
|
||||
Reference in New Issue
Block a user