1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00

Remove usage of PathV1.h in FindBugs.cpp.

llvm-svn: 184122
This commit is contained in:
Rafael Espindola 2013-06-17 20:48:36 +00:00
parent 6f94f75bda
commit f67941b9b1

View File

@ -17,7 +17,7 @@
#include "BugDriver.h" #include "BugDriver.h"
#include "ToolRunner.h" #include "ToolRunner.h"
#include "llvm/Pass.h" #include "llvm/Pass.h"
#include "llvm/Support/PathV1.h" #include "llvm/Support/FileSystem.h"
#include "llvm/Support/raw_ostream.h" #include "llvm/Support/raw_ostream.h"
#include <algorithm> #include <algorithm>
#include <ctime> #include <ctime>
@ -104,7 +104,7 @@ bool BugDriver::runManyPasses(const std::vector<std::string> &AllPasses,
} }
outs() << "\n*** diff'd output matches!\n"; outs() << "\n*** diff'd output matches!\n";
sys::Path(Filename).eraseFromDisk(); sys::fs::remove(Filename);
outs() << "\n\n"; outs() << "\n\n";
num++; num++;