aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.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:07:51 +0200
commit3e9689d72cdffab9672427c664d699334948088a (patch)
tree7e5409e7380453dde6fbfc3d0c0d4a621e467697 /llvm/lib/CodeGen/MachineFunction.cpp
parentc50162b2711e03fa07ff3dff354c2a235ecab147 (diff)
downloadllvm-3e9689d72cdffab9672427c664d699334948088a.zip
llvm-3e9689d72cdffab9672427c664d699334948088a.tar.gz
llvm-3e9689d72cdffab9672427c664d699334948088a.tar.bz2
[libc++][format] Adds integer formatter.
Implements the formatter for all fundamental integer types (except `char`, `wchar_t`, and `bool`). [format.formatter.spec]/2.3 For each charT, for each cv-unqualified arithmetic type ArithmeticT other than char, wchar_t, char8_t, char16_t, or char32_t, a specialization ``` template<> struct formatter<ArithmeticT, charT>; ``` This removes the stub implemented in D96664. As an extension it adds partial support for 128-bit integer types. Implements parts of: - P0645 Text Formatting - P1652 Printf corner cases in std::format Completes: - LWG-3248 #b, #B, #o, #x, and #X presentation types misformat negative numbers Reviewed By: #libc, ldionne, vitaut Differential Revision: https://reviews.llvm.org/D103433
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions