[all-commits] [llvm/llvm-project] 6a22b1: [libc] add printf converter
michaelrj-google via All-commits
all-commits at lists.llvm.org
Thu May 12 13:10:18 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6a22b185d6f9461209947685e521a8f9a28bd983
https://github.com/llvm/llvm-project/commit/6a22b185d6f9461209947685e521a8f9a28bd983
Author: Michael Jones <michaelrj at google.com>
Date: 2022-05-12 (Thu, 12 May 2022)
Changed paths:
M libc/src/stdio/printf_core/CMakeLists.txt
A libc/src/stdio/printf_core/char_converter.h
A libc/src/stdio/printf_core/converter.cpp
M libc/src/stdio/printf_core/converter.h
A libc/src/stdio/printf_core/converter_atlas.h
M libc/src/stdio/printf_core/core_structs.h
M libc/src/stdio/printf_core/parser.cpp
M libc/src/stdio/printf_core/printf_main.h
A libc/src/stdio/printf_core/string_converter.h
M libc/test/src/stdio/printf_core/CMakeLists.txt
A libc/test/src/stdio/printf_core/converter_test.cpp
Log Message:
-----------
[libc] add printf converter
This adds the main pieces of the last piece of printf, the converter.
This takes the completed format section from the parser and then
converts it to a string for the writer, which is why it was the last
piece to be written. So far it supports chars and strings, but more
pieces are coming. Additionally, it supports replacing all of the
conversion functions with user supplied versions at compile time to
allow for additional functionality.
Reviewed By: sivachandra
Differential Revision: https://reviews.llvm.org/D125327
More information about the All-commits
mailing list