Remove remove_all. A compiler has no need for recursively deleting a directory.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198955 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola
2014-01-10 20:36:42 +00:00
parent d91c160b0a
commit 217c714a67
5 changed files with 22 additions and 60 deletions

View File

@ -40,7 +40,8 @@ TEST(LockFileManagerTest, Basic) {
// Now that the lock is out of scope, the file should be gone.
EXPECT_FALSE(sys::fs::exists(StringRef(LockedFile)));
sys::fs::remove_all(StringRef(TmpDir));
EC = sys::fs::remove(StringRef(TmpDir));
ASSERT_FALSE(EC);
}
} // end anonymous namespace