mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 21:32:10 +00:00
Remove usage of PathV1.h in FindBugs.cpp.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184122 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d10fa8b1ca
commit
cacfeed162
@ -17,7 +17,7 @@
|
||||
#include "BugDriver.h"
|
||||
#include "ToolRunner.h"
|
||||
#include "llvm/Pass.h"
|
||||
#include "llvm/Support/PathV1.h"
|
||||
#include "llvm/Support/FileSystem.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
#include <algorithm>
|
||||
#include <ctime>
|
||||
@ -104,7 +104,7 @@ bool BugDriver::runManyPasses(const std::vector<std::string> &AllPasses,
|
||||
}
|
||||
outs() << "\n*** diff'd output matches!\n";
|
||||
|
||||
sys::Path(Filename).eraseFromDisk();
|
||||
sys::fs::remove(Filename);
|
||||
|
||||
outs() << "\n\n";
|
||||
num++;
|
||||
|
Loading…
Reference in New Issue
Block a user