[llvm-commits] [pre-11] CVS: llvm/include/Support/FileUtilities.h
John Criswell
criswell at cs.uiuc.edu
Fri Aug 8 11:43:01 PDT 2003
Changes in directory llvm/include/Support:
FileUtilities.h updated: 1.1 -> 1.1.4.1
---
Log message:
Merged in HEAD on August 8, 2003.
---
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.1.4.1
--- llvm/include/Support/FileUtilities.h:1.1 Fri Aug 1 15:28:55 2003
+++ llvm/include/Support/FileUtilities.h Fri Aug 8 11:42:45 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
More information about the llvm-commits
mailing list