[all-commits] [llvm/llvm-project] e072a1: [libc] add printf writer

michaelrj-google via All-commits all-commits at lists.llvm.org
Tue May 3 10:15:18 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e072a123d3b24995b0921802d69c93c08e3667bf
  Author: Michael Jones <michaelrj at google.com>
  Date:   2022-05-03 (Tue, 03 May 2022)

  Changed paths:
    M libc/src/stdio/printf_core/CMakeLists.txt
    A libc/src/stdio/printf_core/string_writer.h
    A libc/src/stdio/printf_core/writer.cpp
    M libc/src/stdio/printf_core/writer.h
    M libc/test/src/stdio/printf_core/CMakeLists.txt
    A libc/test/src/stdio/printf_core/string_writer_test.cpp

  Log Message:
  [libc] add printf writer

The printf implmentation is made up of three main pieces, the parser,
the converter, and the writer. This patch adds the implementation for
the writer, as well as the function for writing to a string, along with

Reviewed By: sivachandra, lntue

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

More information about the All-commits mailing list