[libc-commits] [PATCH] D143595: [libc][NFC] reorganize structs in printf

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Wed Feb 8 10:38:40 PST 2023


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

Previously the type description structs were defined in the parser. For
the fuzzing targets we'll need to use those, so I've moved them into
core_structs.h. Additionally I've renamed the function for determining
the TypeDesc from a given type. Previously it shared its name with
get_type_desc which is a related but separate function that is a part of
the parser.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D143595

Files:
  libc/src/stdio/printf_core/core_structs.h
  libc/src/stdio/printf_core/parser.cpp
  libc/src/stdio/printf_core/parser.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143595.495882.patch
Type: text/x-patch
Size: 9070 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230208/713c0470/attachment.bin>


More information about the libc-commits mailing list