[llvm] r184203 - Remove PathV1.h use from BugDriver.cpp.

Rafael Espindola rafael.espindola at gmail.com
Tue Jun 18 09:21:54 PDT 2013


Author: rafael
Date: Tue Jun 18 11:21:54 2013
New Revision: 184203

URL: http://llvm.org/viewvc/llvm-project?rev=184203&view=rev
Log:
Remove PathV1.h use from BugDriver.cpp.

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

Modified: llvm/trunk/tools/bugpoint/BugDriver.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/bugpoint/BugDriver.cpp?rev=184203&r1=184202&r2=184203&view=diff
==============================================================================
--- llvm/trunk/tools/bugpoint/BugDriver.cpp (original)
+++ llvm/trunk/tools/bugpoint/BugDriver.cpp Tue Jun 18 11:21:54 2013
@@ -22,7 +22,6 @@
 #include "llvm/Support/CommandLine.h"
 #include "llvm/Support/FileUtilities.h"
 #include "llvm/Support/Host.h"
-#include "llvm/Support/PathV1.h"
 #include "llvm/Support/SourceMgr.h"
 #include "llvm/Support/raw_ostream.h"
 #include <memory>
@@ -195,8 +194,8 @@ bool BugDriver::run(std::string &ErrMsg)
 
   // Make sure the reference output file gets deleted on exit from this
   // function, if appropriate.
-  sys::Path ROF(ReferenceOutputFile);
-  FileRemover RemoverInstance(ROF.str(), CreatedOutput && !SaveTemps);
+  std::string ROF(ReferenceOutputFile);
+  FileRemover RemoverInstance(ROF, CreatedOutput && !SaveTemps);
 
   // Diff the output of the raw program against the reference output.  If it
   // matches, then we assume there is a miscompilation bug and try to





More information about the llvm-commits mailing list