[llvm-commits] CVS: llvm/lib/Support/FileUtilities.cpp

Reid Spencer reid at x10sys.com
Thu Dec 16 15:00:16 PST 2004



Changes in directory llvm/lib/Support:

FileUtilities.cpp updated: 1.32 -> 1.33
---
Log message:

For PR351: http://llvm.cs.uiuc.edu/PR351 :
* Remove the "removeFile" function, now implemented by the 
  sys::Path::destroyFile method.
* Make the FileRemove work with a sys::Path instead of a std::string


---
Diffs of the changes:  (+0 -7)

Index: llvm/lib/Support/FileUtilities.cpp
diff -u llvm/lib/Support/FileUtilities.cpp:1.32 llvm/lib/Support/FileUtilities.cpp:1.33
--- llvm/lib/Support/FileUtilities.cpp:1.32	Tue Dec 14 19:46:54 2004
+++ llvm/lib/Support/FileUtilities.cpp	Thu Dec 16 17:00:05 2004
@@ -64,13 +64,6 @@
   }  
 }
 
-/// removeFile - Delete the specified file
-///
-void llvm::removeFile(const std::string &Filename) {
-  std::remove(Filename.c_str());
-}
-
-
 //===----------------------------------------------------------------------===//
 // FDHandle class implementation
 //






More information about the llvm-commits mailing list