Use simpler form of llvm::sys::fs::remove.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201975 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola 2014-02-23 13:37:37 +00:00
parent ddc8ff23af
commit e4e42f7ff8

View File

@ -318,8 +318,7 @@ static void Cleanup() {
if (FilesToRemove != NULL)
while (!FilesToRemove->empty()) {
bool Existed;
llvm::sys::fs::remove(FilesToRemove->back(), Existed);
llvm::sys::fs::remove(FilesToRemove->back());
FilesToRemove->pop_back();
}