mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
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:
parent
ddc8ff23af
commit
e4e42f7ff8
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user