Don't use 'using std::error_code' in include/llvm.
[oota-llvm.git] / include / llvm / Support / Program.h
index c1269508e04c16b2bb1e69bdbefcc2ca819ac424..51279a9b864ae6b91059b94d98dd8d3d4168198b 100644 (file)
@@ -19,7 +19,6 @@
 #include <system_error>
 
 namespace llvm {
-using std::error_code;
 namespace sys {
 
   /// This is the OS-specific separator for PATH like environment variables:
@@ -67,8 +66,8 @@ struct ProcessInfo {
   // These functions change the specified standard stream (stdin or stdout) to
   // binary mode. They return errc::success if the specified stream
   // was changed. Otherwise a platform dependent error is returned.
-  error_code ChangeStdinToBinary();
-  error_code ChangeStdoutToBinary();
+  std::error_code ChangeStdinToBinary();
+  std::error_code ChangeStdoutToBinary();
 
   /// This function executes the program using the arguments provided.  The
   /// invoked program will inherit the stdin, stdout, and stderr file