aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineOperand.cpp
diff options
context:
space:
mode:
authorMark de Wever <koraq@xs4all.nl>2020-12-14 17:39:15 +0100
committerMark de Wever <koraq@xs4all.nl>2021-10-07 17:03:04 +0200
commitd550930afcbb84740681c219ab13efd133143f88 (patch)
treec8db5b823ad03619803daacca7a7b3e0f4a79a35 /llvm/lib/CodeGen/MachineOperand.cpp
parent9072183cb6346926fefa0c0d24cdc31cf028dcc8 (diff)
downloadllvm-d550930afcbb84740681c219ab13efd133143f88.zip
llvm-d550930afcbb84740681c219ab13efd133143f88.tar.gz
llvm-d550930afcbb84740681c219ab13efd133143f88.tar.bz2
[libc++][format] Adds string formatter.
Implements the formatter for all string types. [format.formatter.spec]/2.2 For each charT, the string type specializations ``` template<> struct formatter<charT*, charT>; template<> struct formatter<const charT*, charT>; template<size_t N> struct formatter<const charT[N], charT>; template<class traits, class Allocator> struct formatter<basic_string<charT, traits, Allocator>, charT>; template<class traits> struct formatter<basic_string_view<charT, traits>, charT>; ``` This removes the stub implemented in D96664. Implements parts of: - P0645 Text Formatting - P1868 width: clarifying units of width and precision in std::format Reviewed By: #libc, ldionne, vitaut Differential Revision: https://reviews.llvm.org/D103425
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions