diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-12-15 01:46:54 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-12-15 01:46:54 +0000 |
commit | 67f6d3ad30941e0ac6d36939c271eec7d7b8a0e2 (patch) | |
tree | d3d6c2d7fa947c959b0f09160a90176554e604a5 /include | |
parent | f9960f769ae574705b4dff4d6253285705a7012a (diff) | |
download | llvm-67f6d3ad30941e0ac6d36939c271eec7d7b8a0e2.tar.gz llvm-67f6d3ad30941e0ac6d36939c271eec7d7b8a0e2.tar.bz2 llvm-67f6d3ad30941e0ac6d36939c271eec7d7b8a0e2.tar.xz |
For PR351:
Remove getUniqueFilename and CopyFile. These are now implemented by
sys::Path::makeUnique and sys::CopyFile, respectively.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18946 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Support/FileUtilities.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/llvm/Support/FileUtilities.h b/include/llvm/Support/FileUtilities.h index 36de66fcfd..c594ac9899 100644 --- a/include/llvm/Support/FileUtilities.h +++ b/include/llvm/Support/FileUtilities.h @@ -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 |