summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-06-20 21:51:49 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-06-20 21:51:49 +0000
commitb0bdcb5f8af7cc4e64aad5954f2230f47fa4ef90 (patch)
tree315911fee3121a73d645e2d97435362e5619a950 /lib
parente38f640b22979994b42fb2f2aafc44cc39c20e8e (diff)
downloadllvm-b0bdcb5f8af7cc4e64aad5954f2230f47fa4ef90.tar.gz
llvm-b0bdcb5f8af7cc4e64aad5954f2230f47fa4ef90.tar.bz2
llvm-b0bdcb5f8af7cc4e64aad5954f2230f47fa4ef90.tar.xz
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.inc2
-rw-r--r--lib/Support/Windows/PathV2.inc2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Support/Unix/PathV2.inc b/lib/Support/Unix/PathV2.inc
index e9cb6e7562..4c76f28c66 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 5e0375fcf9..0c12bb440e 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;