diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-17 20:48:36 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-17 20:48:36 +0000 |
commit | cacfeed162722d13430cef6aa8acf15ec6da90db (patch) | |
tree | b7abd8c0e03dfe0c535041ced73be4916b388db8 | |
parent | d10fa8b1caf010fe4943ae5526c2c3b921339f72 (diff) | |
download | llvm-cacfeed162722d13430cef6aa8acf15ec6da90db.tar.gz llvm-cacfeed162722d13430cef6aa8acf15ec6da90db.tar.bz2 llvm-cacfeed162722d13430cef6aa8acf15ec6da90db.tar.xz |
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
-rw-r--r-- | tools/bugpoint/FindBugs.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/bugpoint/FindBugs.cpp b/tools/bugpoint/FindBugs.cpp index bb6637edfb..e2941f6f43 100644 --- a/tools/bugpoint/FindBugs.cpp +++ b/tools/bugpoint/FindBugs.cpp @@ -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++; |