[PATCH] D25416: Add Chrono.h - std::chrono support header
Pavel Labath via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 10 10:27:53 PDT 2016
labath updated this revision to Diff 74144.
labath added a comment.
Summary of changes:
- remove code dealing with system types (timespec, timeval)
- Switch TimeValue to use TimePoint under the hood for some things to avoid duplication
- Add (still untested) windows implementation - I've removed the "old mingw" support code present in TimeValue - the last (unsuccessful) attempt at that was three years ago - we'll see if we have better luck this time. I've followed TimeValue's patter here, but the two implementations have a lot of code in common, and it might be worth refactoring it a bit.
https://reviews.llvm.org/D25416
Files:
include/llvm/Support/Chrono.h
include/llvm/Support/TimeValue.h
lib/Support/CMakeLists.txt
lib/Support/Chrono.cpp
lib/Support/TimeValue.cpp
lib/Support/Unix/Chrono.inc
lib/Support/Unix/TimeValue.inc
lib/Support/Windows/Chrono.inc
lib/Support/Windows/TimeValue.inc
unittests/Support/CMakeLists.txt
unittests/Support/Chrono.cpp
unittests/Support/TimeValueTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25416.74144.patch
Type: text/x-patch
Size: 14572 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161010/503bf40e/attachment.bin>
More information about the llvm-commits
mailing list