[libc-commits] [PATCH] D128767: [libc] clean up printf error codes

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue Jun 28 15:09:02 PDT 2022


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

Move the constants for printf's return values into core_structs, and
update the converters to match.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D128767

Files:
  libc/src/stdio/printf_core/CMakeLists.txt
  libc/src/stdio/printf_core/char_converter.h
  libc/src/stdio/printf_core/core_structs.h
  libc/src/stdio/printf_core/file_writer.cpp
  libc/src/stdio/printf_core/hex_converter.h
  libc/src/stdio/printf_core/int_converter.h
  libc/src/stdio/printf_core/oct_converter.h
  libc/src/stdio/printf_core/ptr_converter.h
  libc/src/stdio/printf_core/string_converter.h
  libc/src/stdio/printf_core/string_writer.cpp
  libc/src/stdio/printf_core/write_int_converter.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D128767.440788.patch
Type: text/x-patch
Size: 5800 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20220628/3154f952/attachment.bin>


More information about the libc-commits mailing list