From be3ede79583762899d35af56a75fb213317802c6 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Thu, 20 Jun 2013 21:51:49 +0000 Subject: make getLastModificationTime const. Move it with the other getters. llvm-svn: 184478 --- llvm/lib/Support/Unix/PathV2.inc | 2 +- llvm/lib/Support/Windows/PathV2.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/lib') diff --git a/llvm/lib/Support/Unix/PathV2.inc b/llvm/lib/Support/Unix/PathV2.inc index e9cb6e75627..4c76f28c66c 100644 --- a/llvm/lib/Support/Unix/PathV2.inc +++ b/llvm/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/llvm/lib/Support/Windows/PathV2.inc b/llvm/lib/Support/Windows/PathV2.inc index 5e0375fcf9a..0c12bb440e8 100644 --- a/llvm/lib/Support/Windows/PathV2.inc +++ b/llvm/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; -- cgit v1.2.3