summaryrefslogtreecommitdiff
path: root/unittests
diff options
context:
space:
mode:
Diffstat (limited to 'unittests')
-rw-r--r--unittests/ExecutionEngine/JIT/JITTest.cpp1
-rw-r--r--unittests/Support/FileOutputBufferTest.cpp1
-rw-r--r--unittests/Support/LockFileManagerTest.cpp1
-rw-r--r--unittests/Support/MemoryBufferTest.cpp1
-rw-r--r--unittests/Support/MemoryTest.cpp1
-rw-r--r--unittests/Support/Path.cpp1
6 files changed, 6 insertions, 0 deletions
diff --git a/unittests/ExecutionEngine/JIT/JITTest.cpp b/unittests/ExecutionEngine/JIT/JITTest.cpp
index 5eb52c6f01..f3b2b21c09 100644
--- a/unittests/ExecutionEngine/JIT/JITTest.cpp
+++ b/unittests/ExecutionEngine/JIT/JITTest.cpp
@@ -31,6 +31,7 @@
#include <vector>
using namespace llvm;
+using std::error_code;
// This variable is intentionally defined differently in the statically-compiled
// program from the IR input to the JIT to assert that the JIT doesn't use its
diff --git a/unittests/Support/FileOutputBufferTest.cpp b/unittests/Support/FileOutputBufferTest.cpp
index 2ce9e71f85..aec3524bb4 100644
--- a/unittests/Support/FileOutputBufferTest.cpp
+++ b/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/unittests/Support/LockFileManagerTest.cpp b/unittests/Support/LockFileManagerTest.cpp
index 93fa10bee0..3d6357c291 100644
--- a/unittests/Support/LockFileManagerTest.cpp
+++ b/unittests/Support/LockFileManagerTest.cpp
@@ -14,6 +14,7 @@
#include <memory>
using namespace llvm;
+using std::error_code;
namespace {
diff --git a/unittests/Support/MemoryBufferTest.cpp b/unittests/Support/MemoryBufferTest.cpp
index b7d0c206e8..7802537c35 100644
--- a/unittests/Support/MemoryBufferTest.cpp
+++ b/unittests/Support/MemoryBufferTest.cpp
@@ -17,6 +17,7 @@
#include "gtest/gtest.h"
using namespace llvm;
+using std::error_code;
namespace {
diff --git a/unittests/Support/MemoryTest.cpp b/unittests/Support/MemoryTest.cpp
index f85f3dc312..70f8b24dc0 100644
--- a/unittests/Support/MemoryTest.cpp
+++ b/unittests/Support/MemoryTest.cpp
@@ -14,6 +14,7 @@
using namespace llvm;
using namespace sys;
+using std::error_code;
namespace {
diff --git a/unittests/Support/Path.cpp b/unittests/Support/Path.cpp
index f5fb81539b..09042113c0 100644
--- a/unittests/Support/Path.cpp
+++ b/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) { \