[llvm] r184122 - Remove usage of PathV1.h in FindBugs.cpp.

Rafael Espindola rafael.espindola at gmail.com
Mon Jun 17 13:48:36 PDT 2013


Author: rafael
Date: Mon Jun 17 15:48:36 2013
New Revision: 184122

URL: http://llvm.org/viewvc/llvm-project?rev=184122&view=rev
Log:
Remove usage of PathV1.h in FindBugs.cpp.

Modified:
    llvm/trunk/tools/bugpoint/FindBugs.cpp

Modified: llvm/trunk/tools/bugpoint/FindBugs.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/bugpoint/FindBugs.cpp?rev=184122&r1=184121&r2=184122&view=diff
==============================================================================
--- llvm/trunk/tools/bugpoint/FindBugs.cpp (original)
+++ llvm/trunk/tools/bugpoint/FindBugs.cpp Mon Jun 17 15:48:36 2013
@@ -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:
     }
     outs() << "\n*** diff'd output matches!\n";
     
-    sys::Path(Filename).eraseFromDisk();
+    sys::fs::remove(Filename);
     
     outs() << "\n\n";
     num++;





More information about the llvm-commits mailing list