summaryrefslogtreecommitdiff
path: root/tools/bugpoint/BugDriver.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-12-16 23:04:20 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-12-16 23:04:20 +0000
commit5f76760c880e6d61c229d2058c5699b033caeae1 (patch)
tree0afc79386ae09a712ea3dbd7fc4208d20d422eb9 /tools/bugpoint/BugDriver.cpp
parent9ac141823d6180f8a49299c55ed8fc8b9a8310a3 (diff)
downloadllvm-5f76760c880e6d61c229d2058c5699b033caeae1.tar.gz
llvm-5f76760c880e6d61c229d2058c5699b033caeae1.tar.bz2
llvm-5f76760c880e6d61c229d2058c5699b033caeae1.tar.xz
For PR351:
* removeFile() -> sys::Path::destroyFile() * remove extraneous toString() calls * convert local variables representing path names from std::string to sys::Path * Use sys::Path objects with FileRemove instead of std::string * Use sys::Path methods for construction of path names git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19001 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/bugpoint/BugDriver.cpp')
-rw-r--r--tools/bugpoint/BugDriver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bugpoint/BugDriver.cpp b/tools/bugpoint/BugDriver.cpp
index 4b6db0c085..0116ab09a5 100644
--- a/tools/bugpoint/BugDriver.cpp
+++ b/tools/bugpoint/BugDriver.cpp
@@ -175,7 +175,7 @@ bool BugDriver::run() {
// Make sure the reference output file gets deleted on exit from this
// function, if appropriate.
- FileRemover RemoverInstance(ReferenceOutputFile, CreatedOutput);
+ FileRemover RemoverInstance(sys::Path(ReferenceOutputFile), CreatedOutput);
// Diff the output of the raw program against the reference output. If it
// matches, then we have a miscompilation bug.