R600: Add ISA documents to the CompilerWriterInfo page
[oota-llvm.git] / tools / bugpoint / FindBugs.cpp
index a291f9fb0f99b6e9d78f6b2cef8afc1c902a4d6c..e2941f6f43aea81251af67d2dfe3607bba2b0032 100644 (file)
@@ -17,6 +17,7 @@
 #include "BugDriver.h"
 #include "ToolRunner.h"
 #include "llvm/Pass.h"
+#include "llvm/Support/FileSystem.h"
 #include "llvm/Support/raw_ostream.h"
 #include <algorithm>
 #include <ctime>
@@ -103,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++;