[libc] move to combined integer converter
authorMichael Jones <michaelrj@google.com>
Fri, 5 Aug 2022 21:51:10 +0000 (14:51 -0700)
committerMichael Jones <michaelrj@google.com>
Wed, 10 Aug 2022 21:48:30 +0000 (14:48 -0700)
commit3510082a1c56c39b930b11af0e6d3843ff3e4ae4
tree11a91669628d63af5128b3a50c18c7ea2b1e3885
parent42e2946f51e33b64906a73f6fccbebad2e2fd44f
[libc] move to combined integer converter

The functions converting integers into decimal, hexadecimal, and octal,
are all very similar. This patch moves to a combined converter to save
code size.

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D131302
libc/src/stdio/printf_core/CMakeLists.txt
libc/src/stdio/printf_core/converter.cpp
libc/src/stdio/printf_core/converter_atlas.h
libc/src/stdio/printf_core/core_structs.h
libc/src/stdio/printf_core/hex_converter.h [deleted file]
libc/src/stdio/printf_core/int_converter.h
libc/src/stdio/printf_core/oct_converter.h [deleted file]
libc/src/stdio/printf_core/ptr_converter.h