Support formatv of TimePoint with strftime-style formats.
authorSam McCall <sam.mccall@gmail.com>
Tue, 24 Oct 2017 08:30:19 +0000 (08:30 +0000)
committerSam McCall <sam.mccall@gmail.com>
Tue, 24 Oct 2017 08:30:19 +0000 (08:30 +0000)
commitfb4a9b7ededc5bc49667c4f3aa57471f91de8957
treefed5d88a5b6e0736116b0df950631d7453c766dd
parentf4ca4a6fa147507ead2d10490af68c6adab898c8
Support formatv of TimePoint with strftime-style formats.

Summary:
Support formatv of TimePoint with strftime-style formats.

Extensions for millis/micros/nanos are added.
Inital use case is HH:MM:SS.MMM timestamps in clangd logs.

Reviewers: bkramer, ilya-biryukov

Subscribers: labath, llvm-commits

Differential Revision: https://reviews.llvm.org/D38992

llvm-svn: 316419
llvm/include/llvm/Support/Chrono.h
llvm/lib/Support/Chrono.cpp
llvm/unittests/Support/Chrono.cpp