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

Reid Spencer reid at x10sys.com
Mon Dec 13 09:02:07 PST 2004



Changes in directory llvm/include/llvm/Support:

FileUtilities.h updated: 1.21 -> 1.22
---
Log message:

For PR351: http://llvm.cs.uiuc.edu/PR351 : \
The getFileTimestamp and getFileSize functions have been removed from  \
FileUtilities.{h,cpp}. They are replaced by Path::getTimestamp and  \
Path::getSize,respectively.

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

Index: llvm/include/llvm/Support/FileUtilities.h
diff -u llvm/include/llvm/Support/FileUtilities.h:1.21 llvm/include/llvm/Support/FileUtilities.h:1.22
--- llvm/include/llvm/Support/FileUtilities.h:1.21	Sun Dec 12 21:15:47 2004
+++ llvm/include/llvm/Support/FileUtilities.h	Mon Dec 13 11:01:53 2004
@@ -61,17 +61,6 @@
 ///
 bool MakeFileReadable(const std::string &Filename);
 
-/// getFileSize - Return the size of the specified file in bytes, or -1 if the
-/// file cannot be read or does not exist.
-long long getFileSize(const std::string &Filename);
-
-
-/// getFileTimestamp - Get the last modified time for the specified file in an
-/// unspecified format.  This is useful to allow checking to see if a file was
-/// updated since that last time the timestampt was aquired.  If the file does
-/// not exist or there is an error getting the time-stamp, zero is returned.
-unsigned long long getFileTimestamp(const std::string &Filename);
-
 /// ReadFileIntoAddressSpace - Attempt to map the specific file into the 
 /// address space of the current process for reading.  If this succeeds, 
 /// return the address of the buffer and the length of the file mapped.  On 






More information about the llvm-commits mailing list