[all-commits] [llvm/llvm-project] ff6fe3: [libc] add sprintf
michaelrj-google via All-commits
all-commits at lists.llvm.org
Tue May 17 11:32:35 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ff6fe39eca705186fab1f06376cc4b648ff9711b
https://github.com/llvm/llvm-project/commit/ff6fe39eca705186fab1f06376cc4b648ff9711b
Author: Michael Jones <michaelrj at google.com>
Date: 2022-05-17 (Tue, 17 May 2022)
Changed paths:
M libc/config/linux/x86_64/entrypoints.txt
M libc/spec/stdc.td
M libc/src/stdio/CMakeLists.txt
M libc/src/stdio/printf_core/CMakeLists.txt
M libc/src/stdio/printf_core/char_converter.h
M libc/src/stdio/printf_core/converter.cpp
M libc/src/stdio/printf_core/converter.h
M libc/src/stdio/printf_core/printf_main.h
M libc/src/stdio/printf_core/string_converter.h
A libc/src/stdio/sprintf.cpp
A libc/src/stdio/sprintf.h
M libc/test/src/stdio/CMakeLists.txt
M libc/test/src/stdio/printf_core/parser_test.cpp
A libc/test/src/stdio/sprintf_test.cpp
Log Message:
-----------
[libc] add sprintf
This adds the sprintf entrypoint, as well as unit tests. Currently
sprintf only supports %%, %s, and %c, but the other conversions are on
the way.
Reviewed By: sivachandra, lntue
Differential Revision: https://reviews.llvm.org/D125573
More information about the All-commits
mailing list