summaryrefslogtreecommitdiff
path: root/unittests/Support/LockFileManagerTest.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-06-13 03:20:08 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-06-13 03:20:08 +0000
commit250305156a998db624f93d9aab919c9ed7be27aa (patch)
treefffe91d86df70097576d5b2281836263ed989d7a /unittests/Support/LockFileManagerTest.cpp
parent1ad45020ec8518a5c9bea7ec1007798a456bff56 (diff)
downloadllvm-250305156a998db624f93d9aab919c9ed7be27aa.tar.gz
llvm-250305156a998db624f93d9aab919c9ed7be27aa.tar.bz2
llvm-250305156a998db624f93d9aab919c9ed7be27aa.tar.xz
Remove the last uses of 'using std::error_code'
This finishes the transition to std::error_code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210877 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Support/LockFileManagerTest.cpp')
-rw-r--r--unittests/Support/LockFileManagerTest.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/unittests/Support/LockFileManagerTest.cpp b/unittests/Support/LockFileManagerTest.cpp
index 3d6357c291..885b7d6053 100644
--- a/unittests/Support/LockFileManagerTest.cpp
+++ b/unittests/Support/LockFileManagerTest.cpp
@@ -14,13 +14,12 @@
#include <memory>
using namespace llvm;
-using std::error_code;
namespace {
TEST(LockFileManagerTest, Basic) {
SmallString<64> TmpDir;
- error_code EC;
+ std::error_code EC;
EC = sys::fs::createUniqueDirectory("LockFileManagerTestDir", TmpDir);
ASSERT_FALSE(EC);
@@ -47,7 +46,7 @@ TEST(LockFileManagerTest, Basic) {
TEST(LockFileManagerTest, LinkLockExists) {
SmallString<64> TmpDir;
- error_code EC;
+ std::error_code EC;
EC = sys::fs::createUniqueDirectory("LockFileManagerTestDir", TmpDir);
ASSERT_FALSE(EC);
@@ -90,7 +89,7 @@ TEST(LockFileManagerTest, LinkLockExists) {
TEST(LockFileManagerTest, RelativePath) {
SmallString<64> TmpDir;
- error_code EC;
+ std::error_code EC;
EC = sys::fs::createUniqueDirectory("LockFileManagerTestDir", TmpDir);
ASSERT_FALSE(EC);