summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Support
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/unittests/Support')
-rw-r--r--llvm/unittests/Support/FileOutputBufferTest.cpp1
-rw-r--r--llvm/unittests/Support/LockFileManagerTest.cpp1
-rw-r--r--llvm/unittests/Support/MemoryBufferTest.cpp1
-rw-r--r--llvm/unittests/Support/MemoryTest.cpp1
-rw-r--r--llvm/unittests/Support/Path.cpp1
5 files changed, 5 insertions, 0 deletions
diff --git a/llvm/unittests/Support/FileOutputBufferTest.cpp b/llvm/unittests/Support/FileOutputBufferTest.cpp
index 2ce9e71f852..aec3524bb4a 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 93fa10bee07..3d6357c291b 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 b7d0c206e8e..7802537c358 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 f85f3dc3128..70f8b24dc08 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 f5fb81539b6..09042113c01 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) { \
OpenPOWER on IntegriCloud