aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Support/FileUtilities.h
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-12-13 17:01:53 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-12-13 17:01:53 +0000
commit9d88d1aaab145e18c8e0fe93544f8a1ff0474866 (patch)
tree76878e5c34075b7fb47f4cc78dc6636840922da0 /include/llvm/Support/FileUtilities.h
parent4251ce4b10a35552df67ea624b180ad247960eef (diff)
downloadexternal_llvm-9d88d1aaab145e18c8e0fe93544f8a1ff0474866.tar.gz
external_llvm-9d88d1aaab145e18c8e0fe93544f8a1ff0474866.tar.bz2
external_llvm-9d88d1aaab145e18c8e0fe93544f8a1ff0474866.zip
For PR351: \
The getFileTimestamp and getFileSize functions have been removed from \ FileUtilities.{h,cpp}. They are replaced by Path::getTimestamp and \ Path::getSize,respectively. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18892 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/FileUtilities.h')
-rw-r--r--include/llvm/Support/FileUtilities.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/llvm/Support/FileUtilities.h b/include/llvm/Support/FileUtilities.h
index f61ee7c640..885ee86c0d 100644
--- a/include/llvm/Support/FileUtilities.h
+++ b/include/llvm/Support/FileUtilities.h
@@ -61,17 +61,6 @@ bool MakeFileExecutable(const std::string &Filename);
///
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