mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Remove a use of sys::Path.
llvm-svn: 183979
This commit is contained in:
parent
13c4894a31
commit
7a9e435747
@ -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…
x
Reference in New Issue
Block a user