[all-commits] [llvm/llvm-project] 4f4752: [libc][NFC] implement printf parser

michaelrj-google via All-commits all-commits at lists.llvm.org
Fri Apr 8 14:21:25 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4f4752ee6fd19efa9b7e623c10c5ba5861542dc8
      https://github.com/llvm/llvm-project/commit/4f4752ee6fd19efa9b7e623c10c5ba5861542dc8
  Author: Michael Jones <michaelrj at google.com>
  Date:   2022-04-08 (Fri, 08 Apr 2022)

  Changed paths:
    M libc/src/stdio/CMakeLists.txt
    A libc/src/stdio/printf_core/CMakeLists.txt
    A libc/src/stdio/printf_core/converter.h
    A libc/src/stdio/printf_core/core_structs.h
    A libc/src/stdio/printf_core/parser.cpp
    A libc/src/stdio/printf_core/parser.h
    A libc/src/stdio/printf_core/printf_main.h
    A libc/src/stdio/printf_core/writer.h
    R libc/src/stdio/printf_files/converter.h
    R libc/src/stdio/printf_files/core_structs.h
    R libc/src/stdio/printf_files/parser.h
    R libc/src/stdio/printf_files/printf_main.h
    R libc/src/stdio/printf_files/writer.h
    M libc/test/src/stdio/CMakeLists.txt
    A libc/test/src/stdio/printf_core/CMakeLists.txt
    A libc/test/src/stdio/printf_core/parser_test.cpp

  Log Message:
  -----------
  [libc][NFC] implement printf parser

This patch adds the sequential mode implementation of the printf parser,
as well as unit tests for it. In addition it adjusts the surrounding
files to accomodate changes in the design found in the implementation
process.

Reviewed By: sivachandra

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




More information about the All-commits mailing list