[PATCH] D29481: [Support] Add FormatVariadic support for chrono types
Pavel Labath via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 2 17:49:00 PST 2017
labath created this revision.
The formatter has three knobs:
- the user can choose which time unit to use for formatting (default: whatever is the unit of the input)
- he can choose whether the unit gets displayed (default: yes)
- he can affect the way the number itself is formatted via standard number formatting options (default:default)
https://reviews.llvm.org/D29481
Files:
include/llvm/Support/Chrono.h
lib/Support/Chrono.cpp
unittests/Support/Chrono.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29481.86929.patch
Type: text/x-patch
Size: 6558 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170203/5671cf9d/attachment.bin>
More information about the llvm-commits
mailing list