[llvm-commits] CVS: llvm/include/Support/FileUtilities.h SystemUtils.h

Misha Brukman brukman at cs.uiuc.edu
Thu Aug 7 16:29:01 PDT 2003


Changes in directory llvm/include/Support:

FileUtilities.h updated: 1.1 -> 1.2
SystemUtils.h updated: 1.1 -> 1.2

---
Log message:

Moved removeFile() and getUniqueFilename() into FileUtilities.


---
Diffs of the changes:

Index: llvm/include/Support/FileUtilities.h
diff -u llvm/include/Support/FileUtilities.h:1.1 llvm/include/Support/FileUtilities.h:1.2
--- llvm/include/Support/FileUtilities.h:1.1	Fri Aug  1 15:28:55 2003
+++ llvm/include/Support/FileUtilities.h	Thu Aug  7 16:28:47 2003
@@ -26,4 +26,14 @@
 ///
 void MoveFileOverIfUpdated(const std::string &New, const std::string &Old);
  
+/// removeFile - Delete the specified file
+///
+void removeFile(const std::string &Filename);
+
+/// getUniqueFilename - Return a filename with the specified prefix.  If the
+/// file does not exist yet, return it, otherwise add a suffix to make it
+/// unique.
+///
+std::string getUniqueFilename(const std::string &FilenameBase);
+
 #endif


Index: llvm/include/Support/SystemUtils.h
diff -u llvm/include/Support/SystemUtils.h:1.1 llvm/include/Support/SystemUtils.h:1.2
--- llvm/include/Support/SystemUtils.h:1.1	Mon Dec 23 17:50:16 2002
+++ llvm/include/Support/SystemUtils.h	Thu Aug  7 16:28:47 2003
@@ -22,16 +22,6 @@
 std::string FindExecutable(const std::string &ExeName,
 			   const std::string &BugPointPath);
 
-/// removeFile - Delete the specified file
-///
-void removeFile(const std::string &Filename);
-
-/// getUniqueFilename - Return a filename with the specified prefix.  If the
-/// file does not exist yet, return it, otherwise add a suffix to make it
-/// unique.
-///
-std::string getUniqueFilename(const std::string &FilenameBase);
-
 /// RunProgramWithTimeout - This function executes the specified program, with
 /// the specified null-terminated argument array, with the stdin/out/err fd's
 /// redirected, with a timeout specified on the commandline.  This terminates





More information about the llvm-commits mailing list