diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-20 21:51:49 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-20 21:51:49 +0000 |
commit | b0bdcb5f8af7cc4e64aad5954f2230f47fa4ef90 (patch) | |
tree | 315911fee3121a73d645e2d97435362e5619a950 /lib | |
parent | e38f640b22979994b42fb2f2aafc44cc39c20e8e (diff) | |
download | external_llvm-b0bdcb5f8af7cc4e64aad5954f2230f47fa4ef90.zip external_llvm-b0bdcb5f8af7cc4e64aad5954f2230f47fa4ef90.tar.gz external_llvm-b0bdcb5f8af7cc4e64aad5954f2230f47fa4ef90.tar.bz2 |
make getLastModificationTime const. Move it with the other getters.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184478 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Support/Unix/PathV2.inc | 2 | ||||
-rw-r--r-- | lib/Support/Windows/PathV2.inc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Support/Unix/PathV2.inc b/lib/Support/Unix/PathV2.inc index e9cb6e7..4c76f28 100644 --- a/lib/Support/Unix/PathV2.inc +++ b/lib/Support/Unix/PathV2.inc @@ -110,7 +110,7 @@ namespace llvm { namespace sys { namespace fs { -TimeValue file_status::getLastModificationTime() { +TimeValue file_status::getLastModificationTime() const { TimeValue Ret; Ret.fromEpochTime(fs_st_mtime); return Ret; diff --git a/lib/Support/Windows/PathV2.inc b/lib/Support/Windows/PathV2.inc index 5e0375f..0c12bb4 100644 --- a/lib/Support/Windows/PathV2.inc +++ b/lib/Support/Windows/PathV2.inc @@ -128,7 +128,7 @@ namespace llvm { namespace sys { namespace fs { -TimeValue file_status::getLastModificationTime() { +TimeValue file_status::getLastModificationTime() const { ULARGE_INTEGER UI; UI.LowPart = LastWriteTimeLow; UI.HighPart = LastWriteTimeHigh; |