[PATCH] D25394: Add a Chrono.h header to libSupport

Pavel Labath via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 8 16:55:40 PDT 2016


labath added a comment.

After studying the chrono library a bit more, I've learned of an easier way to do this, one that renders this function redundant (it's `std::chrono::duration<double, std::milli (or whatever)>(value)` if anyone wonders). Thank you for testing out the waters for me though :).

I'll soon come up with a proposal for adding conversions from/to the legacy types that we need to this header.


https://reviews.llvm.org/D25394





More information about the llvm-commits mailing list