Don't use 'using std::error_code' in include/llvm.

This should make sure that most new uses use the std prefix.

llvm-svn: 210835
diff --git a/llvm/unittests/Support/FileOutputBufferTest.cpp b/llvm/unittests/Support/FileOutputBufferTest.cpp
index 2ce9e71..aec3524 100644
--- a/llvm/unittests/Support/FileOutputBufferTest.cpp
+++ b/llvm/unittests/Support/FileOutputBufferTest.cpp
@@ -16,6 +16,7 @@
 
 using namespace llvm;
 using namespace llvm::sys;
+using std::error_code;
 
 #define ASSERT_NO_ERROR(x) \
   if (error_code ASSERT_NO_ERROR_ec = x) { \
diff --git a/llvm/unittests/Support/LockFileManagerTest.cpp b/llvm/unittests/Support/LockFileManagerTest.cpp
index 93fa10b..3d6357c 100644
--- a/llvm/unittests/Support/LockFileManagerTest.cpp
+++ b/llvm/unittests/Support/LockFileManagerTest.cpp
@@ -14,6 +14,7 @@
 #include <memory>
 
 using namespace llvm;
+using std::error_code;
 
 namespace {
 
diff --git a/llvm/unittests/Support/MemoryBufferTest.cpp b/llvm/unittests/Support/MemoryBufferTest.cpp
index b7d0c20..7802537 100644
--- a/llvm/unittests/Support/MemoryBufferTest.cpp
+++ b/llvm/unittests/Support/MemoryBufferTest.cpp
@@ -17,6 +17,7 @@
 #include "gtest/gtest.h"
 
 using namespace llvm;
+using std::error_code;
 
 namespace {
 
diff --git a/llvm/unittests/Support/MemoryTest.cpp b/llvm/unittests/Support/MemoryTest.cpp
index f85f3dc..70f8b24 100644
--- a/llvm/unittests/Support/MemoryTest.cpp
+++ b/llvm/unittests/Support/MemoryTest.cpp
@@ -14,6 +14,7 @@
 
 using namespace llvm;
 using namespace sys;
+using std::error_code;
 
 namespace {
 
diff --git a/llvm/unittests/Support/Path.cpp b/llvm/unittests/Support/Path.cpp
index f5fb815..0904211 100644
--- a/llvm/unittests/Support/Path.cpp
+++ b/llvm/unittests/Support/Path.cpp
@@ -20,6 +20,7 @@
 
 using namespace llvm;
 using namespace llvm::sys;
+using std::error_code;
 
 #define ASSERT_NO_ERROR(x) \
   if (error_code ASSERT_NO_ERROR_ec = x) { \