[PATCH] D25416: Add Chrono.h - std::chrono support header

Pavel Labath via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 18 06:51:01 PDT 2016


labath updated this revision to Diff 74993.
labath added a comment.

- remove dead code I accidentaly left it
- Make the TimeValue conversion constructor a template. Otherwise the compiler would not find the implicit conversion sequence TimePoint<X> -> TimePoint<> -> TimeValue, and the only reason I am having that constructor is to make piecewise migration easier.


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/TimeValue.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.74993.patch
Type: text/x-patch
Size: 13495 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161018/cf51ae56/attachment.bin>


More information about the llvm-commits mailing list