For PR351:
[oota-llvm.git] / include / llvm / Support / FileUtilities.h
index 36de66fcfdbe3568e0a4f1d38ac5769b72650a52..c594ac9899c975570f4f2b1786c6d8b107cfc28d 100644 (file)
@@ -28,11 +28,6 @@ namespace llvm {
 bool DiffFiles(const std::string &FileA, const std::string &FileB,
                std::string *Error = 0);
 
-/// CopyFile - Copy the specified source file to the specified destination,
-/// overwriting destination if it exists.  This returns true on failure.
-///
-bool CopyFile(const std::string &Dest, const std::string &Src);
-
 /// MoveFileOverIfUpdated - If the file specified by New is different than Old,
 /// or if Old does not exist, move the New file over the Old file.  Otherwise,
 /// remove the New file.
@@ -43,12 +38,6 @@ void MoveFileOverIfUpdated(const std::string &New, const std::string &Old);
 ///
 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);
-
 /// FDHandle - Simple handle class to make sure a file descriptor gets closed
 /// when the object is destroyed.  This handle acts similarly to an
 /// std::auto_ptr, in that the copy constructor and assignment operators