diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-20 20:56:14 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-20 20:56:14 +0000 |
commit | 11ca2e508c2152732c364d02e5b381e61c851084 (patch) | |
tree | b8cd1edf3f8767cca4cdd3460364f6e64f792666 /include | |
parent | deda39dbdf2a8b07940183e5f3ed9ea89e2ae053 (diff) | |
download | llvm-11ca2e508c2152732c364d02e5b381e61c851084.tar.gz llvm-11ca2e508c2152732c364d02e5b381e61c851084.tar.bz2 llvm-11ca2e508c2152732c364d02e5b381e61c851084.tar.xz |
Add a setLastModificationAndAccessTime to PathV2.
With this we can remove the last use of PathV1 from llvm-ar.cpp.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184464 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Support/FileSystem.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/Support/FileSystem.h b/include/llvm/Support/FileSystem.h index c9ecc30efb..08727d7f79 100644 --- a/include/llvm/Support/FileSystem.h +++ b/include/llvm/Support/FileSystem.h @@ -482,6 +482,8 @@ error_code status(const Twine &path, file_status &result); /// platform specific error_code. error_code permissions(const Twine &path, perms prms); +error_code setLastModificationAndAccessTime(int FD, TimeValue Time); + /// @brief Is status available? /// /// @param s Input file status. |