[llvm-commits] CVS: llvm/include/llvm/Support/FileUtilities.h

Reid Spencer reid at x10sys.com
Mon Dec 13 12:08:24 PST 2004



Changes in directory llvm/include/llvm/Support:

FileUtilities.h updated: 1.23 -> 1.24
---
Log message:

For PR351: http://llvm.cs.uiuc.edu/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.


---
Diffs of the changes:  (+0 -12)

Index: llvm/include/llvm/Support/FileUtilities.h
diff -u llvm/include/llvm/Support/FileUtilities.h:1.23 llvm/include/llvm/Support/FileUtilities.h:1.24
--- llvm/include/llvm/Support/FileUtilities.h:1.23	Mon Dec 13 12:28:59 2004
+++ llvm/include/llvm/Support/FileUtilities.h	Mon Dec 13 14:08:14 2004
@@ -49,18 +49,6 @@
 ///
 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






More information about the llvm-commits mailing list