]> granicus.if.org Git - llvm/commit
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)
commitebd014bd7fc6b350d075715dbac9c5b8d0309b2c
treea07ea1a06e783f0a852f04e24739695692ef540c
parentda5585dcb14d735b1363063b1255a03e2582a484
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316419 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/Chrono.h
lib/Support/Chrono.cpp
unittests/Support/Chrono.cpp