[llvm-commits] CVS: llvm/tools/bugpoint/BugDriver.cpp
Chris Lattner
lattner at cs.uiuc.edu
Wed Feb 18 11:18:03 PST 2004
Changes in directory llvm/tools/bugpoint:
BugDriver.cpp updated: 1.22 -> 1.23
---
Log message:
This class got moved to FileUtilities.h
---
Diffs of the changes: (+1 -8)
Index: llvm/tools/bugpoint/BugDriver.cpp
diff -u llvm/tools/bugpoint/BugDriver.cpp:1.22 llvm/tools/bugpoint/BugDriver.cpp:1.23
--- llvm/tools/bugpoint/BugDriver.cpp:1.22 Tue Jan 13 21:38:36 2004
+++ llvm/tools/bugpoint/BugDriver.cpp Wed Feb 18 11:17:10 2004
@@ -151,14 +151,7 @@
// Make sure the reference output file gets deleted on exit from this
// function, if appropriate.
- struct Remover {
- bool DeleteIt; const std::string &Filename;
- Remover(bool deleteIt, const std::string &filename)
- : DeleteIt(deleteIt), Filename(filename) {}
- ~Remover() {
- if (DeleteIt) removeFile(Filename);
- }
- } RemoverInstance(CreatedOutput, ReferenceOutputFile);
+ FileRemover RemoverInstance(CreatedOutput, ReferenceOutputFile);
// Diff the output of the raw program against the reference output. If it
// matches, then we have a miscompilation bug.
More information about the llvm-commits
mailing list