aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2003-08-07 21:28:50 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2003-08-07 21:28:50 +0000
commit3d1b0c73319ec1d01ec927ead03a09bbc62c7aea (patch)
tree68a7f7357981bef6cf27625f62b19b2cc7096cad /include
parent57d708b122d6fccaf2d5f8a4544f23ec1ad3060c (diff)
downloadexternal_llvm-3d1b0c73319ec1d01ec927ead03a09bbc62c7aea.zip
external_llvm-3d1b0c73319ec1d01ec927ead03a09bbc62c7aea.tar.gz
external_llvm-3d1b0c73319ec1d01ec927ead03a09bbc62c7aea.tar.bz2
Moved removeFile() and getUniqueFilename() into FileUtilities.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7691 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/Support/FileUtilities.h10
-rw-r--r--include/Support/SystemUtils.h10
-rw-r--r--include/llvm/Support/FileUtilities.h10
-rw-r--r--include/llvm/Support/SystemUtils.h10
4 files changed, 20 insertions, 20 deletions
diff --git a/include/Support/FileUtilities.h b/include/Support/FileUtilities.h
index 8d31020..2c8eba3 100644
--- a/include/Support/FileUtilities.h
+++ b/include/Support/FileUtilities.h
@@ -26,4 +26,14 @@ bool DiffFiles(const std::string &FileA, const std::string &FileB,
///
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
diff --git a/include/Support/SystemUtils.h b/include/Support/SystemUtils.h
index 2d5dadc..7321cb5 100644
--- a/include/Support/SystemUtils.h
+++ b/include/Support/SystemUtils.h
@@ -22,16 +22,6 @@ bool isExecutableFile(const std::string &ExeFileName);
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
diff --git a/include/llvm/Support/FileUtilities.h b/include/llvm/Support/FileUtilities.h
index 8d31020..2c8eba3 100644
--- a/include/llvm/Support/FileUtilities.h
+++ b/include/llvm/Support/FileUtilities.h
@@ -26,4 +26,14 @@ bool DiffFiles(const std::string &FileA, const std::string &FileB,
///
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
diff --git a/include/llvm/Support/SystemUtils.h b/include/llvm/Support/SystemUtils.h
index 2d5dadc..7321cb5 100644
--- a/include/llvm/Support/SystemUtils.h
+++ b/include/llvm/Support/SystemUtils.h
@@ -22,16 +22,6 @@ bool isExecutableFile(const std::string &ExeFileName);
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