mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
Remove a use of sys::Path.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183979 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a768a49548
commit
d86dd4a29d
@ -11,7 +11,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/Support/PathV1.h"
|
||||
#include "llvm/Support/FileSystem.h"
|
||||
|
||||
#include "Windows.h"
|
||||
#include <algorithm>
|
||||
@ -354,7 +354,8 @@ static void Cleanup() {
|
||||
|
||||
if (FilesToRemove != NULL)
|
||||
while (!FilesToRemove->empty()) {
|
||||
llvm::sys::Path(FilesToRemove->back()).eraseFromDisk();
|
||||
bool Existed;
|
||||
llvm::sys::fs::remove(FilesToRemove->back(), Existed);
|
||||
FilesToRemove->pop_back();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user