diff options
Diffstat (limited to 'unittests/Support')
-rw-r--r-- | unittests/Support/FileOutputBufferTest.cpp | 1 | ||||
-rw-r--r-- | unittests/Support/LockFileManagerTest.cpp | 1 | ||||
-rw-r--r-- | unittests/Support/MemoryBufferTest.cpp | 1 | ||||
-rw-r--r-- | unittests/Support/MemoryTest.cpp | 1 | ||||
-rw-r--r-- | unittests/Support/Path.cpp | 1 |
5 files changed, 5 insertions, 0 deletions
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) { \ |