[libc-commits] [PATCH] D118512: [libc] add core printf parsing

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Fri Jan 28 15:00:36 PST 2022


michaelrj created this revision.
michaelrj added reviewers: sivachandra, lntue.
Herald added subscribers: libc-commits, ecnelises, tschuett, mgorny.
Herald added a project: libc-project.
michaelrj requested review of this revision.

This patch adds the core parsing for printf in the PrintfParser class.
It does not, however, include the conversion or string construction
parts that are necessary for a complete printf. Those will be added in a
later patch.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D118512

Files:
  libc/src/stdio/CMakeLists.txt
  libc/src/stdio/printf_format_struct.h
  libc/src/stdio/printf_parser.h
  libc/test/src/stdio/CMakeLists.txt
  libc/test/src/stdio/printf_parser_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118512.404177.patch
Type: text/x-patch
Size: 15681 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20220128/2d53ac7c/attachment-0001.bin>


More information about the libc-commits mailing list