mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-29 15:17:14 +00:00
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
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user