[Lldb-commits] [PATCH] D25392: Remove TimeValue usage from FileSpec.h

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Fri Oct 7 22:00:32 PDT 2016


labath added a subscriber: mehdi_amini.
labath added inline comments.


================
Comment at: source/Host/common/FileSystem.cpp:103
+
+  return system_clock::from_time_t(file_stats.st_mtimespec.tv_sec) +
+         nanoseconds(file_stats.st_mtimespec.tv_nsec);
----------------
The conversion from `struct timespec` will probably be necessary in some other places as well.


https://reviews.llvm.org/D25392





More information about the lldb-commits mailing list