summaryrefslogtreecommitdiff
path: root/include/llvm/Support/FileUtilities.h
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-12-13 20:08:14 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-12-13 20:08:14 +0000
commit2356f8612e2e7441d6c829b6886cc5c2a4a1671d (patch)
treec0308affbb3cae55ea7ecd57dd95d036e3414b2d /include/llvm/Support/FileUtilities.h
parent319cdeccd16a6e1da087ff654e6fb7060b07fe55 (diff)
downloadllvm-2356f8612e2e7441d6c829b6886cc5c2a4a1671d.tar.gz
llvm-2356f8612e2e7441d6c829b6886cc5c2a4a1671d.tar.bz2
llvm-2356f8612e2e7441d6c829b6886cc5c2a4a1671d.tar.xz
For PR351:
Remove the MakeFileReadable and MakeFileExecutable functions which are no longer present in LLVM. They have been replaced with the sys::Path methods makeReadable and makeExecutable, respectively. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18910 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/FileUtilities.h')
-rw-r--r--include/llvm/Support/FileUtilities.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/llvm/Support/FileUtilities.h b/include/llvm/Support/FileUtilities.h
index b243df506b..36de66fcfd 100644
--- a/include/llvm/Support/FileUtilities.h
+++ b/include/llvm/Support/FileUtilities.h
@@ -49,18 +49,6 @@ void removeFile(const std::string &Filename);
///
std::string getUniqueFilename(const std::string &FilenameBase);
-/// MakeFileExecutable - This method turns on whatever access attributes are
-/// needed to make the specified file executable. It returns true on success.
-/// In case of failure, the file's access attributes are unspecified.
-///
-bool MakeFileExecutable(const std::string &Filename);
-
-/// MakeFileReadable - This method turns on whatever access attributes are
-/// needed to make the specified file readable. It returns true on success.
-/// In case of failure, the file's access attributes are unspecified.
-///
-bool MakeFileReadable(const std::string &Filename);
-
/// 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