[PATCH] D25587: Introduce llvm FormatVariadic
Zachary Turner via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 13 17:19:23 PDT 2016
zturner created this revision.
zturner added reviewers: chandlerc, timshen, dblaikie, dexonsmith, silvas, beanz.
zturner added a subscriber: llvm-commits.
Herald added subscribers: modocache, mgorny.
As discussed on the mailing list, here is my initial pass at the variadic formatting library.
Formatters are provided for integral, character, string, and pointer types. More complex formatters such as those required for `chrono` classes are not yet provided, but they are lower priority.
Note that this patch is blocked on https://reviews.llvm.org/D25497, so while I welcome reviews to this any time, it can't go in until that one is approved.
Adding a bunch of people that expressed interest in this from the list.
https://reviews.llvm.org/D25587
Files:
include/llvm/ADT/STLExtras.h
include/llvm/Support/FormatProviders.h
include/llvm/Support/FormatVariadic.h
include/llvm/Support/FormatVariadicDetails.h
include/llvm/Support/NativeFormatting.h
include/llvm/Support/YAMLTraits.h
include/llvm/Support/raw_ostream.h
lib/Support/CMakeLists.txt
lib/Support/FormatVariadic.cpp
lib/Support/NativeFormatting.cpp
lib/Support/raw_ostream.cpp
unittests/Support/CMakeLists.txt
unittests/Support/FormatVariadicTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25587.74602.patch
Type: text/x-patch
Size: 69149 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161014/77cc3688/attachment.bin>
More information about the llvm-commits
mailing list