[all-commits] [llvm/llvm-project] 1be366: [libc] add printf base 10 integer conversion

michaelrj-google via All-commits all-commits at lists.llvm.org
Thu Jun 9 10:27:25 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1be3669dda4d3c6a4aa3a36c2599f20a0a00c7ed
      https://github.com/llvm/llvm-project/commit/1be3669dda4d3c6a4aa3a36c2599f20a0a00c7ed
  Author: Michael Jones <michaelrj at google.com>
  Date:   2022-06-09 (Thu, 09 Jun 2022)

  Changed paths:
    M libc/src/__support/CPP/Limits.h
    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_atlas.h
    A libc/src/stdio/printf_core/int_converter.h
    M libc/src/stdio/printf_core/string_converter.h
    M libc/test/src/stdio/printf_core/converter_test.cpp
    M libc/test/src/stdio/sprintf_test.cpp

  Log Message:
  -----------
  [libc] add printf base 10 integer conversion

This patch adds support for d, i, and u conversions in printf, as well
as comprehensive unit tests.

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D125929




More information about the All-commits mailing list