llvm-project/libcxx
Mark de Wever 3e9689d72c [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
2021-10-07 17:07:51 +02:00
..
benchmarks [libc++][format] Implement Unicode support. 2021-10-02 11:57:40 +02:00
cmake Revert "[libc++][libc++abi] Add tests for vendor-specific properties" 2021-09-30 11:03:59 -07:00
docs [libc++][format] Adds integer formatter. 2021-10-07 17:07:51 +02:00
include [libc++][format] Adds integer formatter. 2021-10-07 17:07:51 +02:00
lib [libc++][NFC] Add missing commits to the ABI changelog 2021-07-20 09:19:52 -04:00
src [libc++] Use init_priority(100) when possible 2021-10-06 15:53:56 -04:00
test [libc++][format] Adds integer formatter. 2021-10-07 17:07:51 +02:00
utils [libcxx][CI] Install all locales used by the test suite 2021-10-07 09:24:17 +01:00
.clang-format [NFC][libc++] Update clang-format style. 2021-09-24 19:28:07 +02:00
.gitignore [libcxx] Fix .gitignore to not exclude test directories 2020-03-25 17:52:23 -07:00
CMakeLists.txt [runtimes] Allow FOO_TEST_CONFIG to be a relative path 2021-10-05 19:45:50 -04:00
CREDITS.TXT [NFC] Add contributor name to CREDITS.TXT 2021-09-29 14:48:32 -04:00
LICENSE.TXT
TODO.TXT [libc++] Disallow volatile types in std::allocator 2021-09-22 11:47:38 -04:00
appveyor-reqs-install.cmd
appveyor.yml