[llvm] r264393 - Fix windows build for sys::fs:file_status Access Time added in r264392
Mehdi Amini via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 25 00:40:53 PDT 2016
Author: mehdi_amini
Date: Fri Mar 25 02:40:52 2016
New Revision: 264393
URL: http://llvm.org/viewvc/llvm-project?rev=264393&view=rev
Log:
Fix windows build for sys::fs:file_status Access Time added in r264392
From: Mehdi Amini <mehdi.amini at apple.com>
Modified:
llvm/trunk/include/llvm/Support/FileSystem.h
Modified: llvm/trunk/include/llvm/Support/FileSystem.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/FileSystem.h?rev=264393&r1=264392&r2=264393&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/FileSystem.h (original)
+++ llvm/trunk/include/llvm/Support/FileSystem.h Fri Mar 25 02:40:52 2016
@@ -190,11 +190,12 @@ public:
FileSizeLow(0), FileIndexHigh(0), FileIndexLow(0), Type(Type),
Perms(perms_not_known) {}
- file_status(file_type Type, uint32_t LastWriteTimeHigh,
+ file_status(file_type Type, uint32_t LastAccessTimeHigh,
+ uint32_t LastAccessTimeLow, uint32_t LastWriteTimeHigh,
uint32_t LastWriteTimeLow, uint32_t VolumeSerialNumber,
uint32_t FileSizeHigh, uint32_t FileSizeLow,
uint32_t FileIndexHigh, uint32_t FileIndexLow)
- : LastAccessedTimeHigh(0), LastAccessedTimeLow(0),
+ : LastAccessedTimeHigh(LastAccessTimeHigh), LastAccessedTimeLow(LastAccessTimeLow),
LastWriteTimeHigh(LastWriteTimeHigh),
LastWriteTimeLow(LastWriteTimeLow),
VolumeSerialNumber(VolumeSerialNumber), FileSizeHigh(FileSizeHigh),
More information about the llvm-commits
mailing list