[libc-commits] [PATCH] D142510: [libc] add scanf pointer conversion

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue Jan 24 14:42:55 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.

This patch adds the last conversion for scanf, %p. It is set up to match
the %p implementation in our printf.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D142510

Files:
  libc/src/stdio/scanf_core/CMakeLists.txt
  libc/src/stdio/scanf_core/converter.cpp
  libc/src/stdio/scanf_core/converter_utils.h
  libc/src/stdio/scanf_core/int_converter.cpp
  libc/src/stdio/scanf_core/ptr_converter.cpp
  libc/src/stdio/scanf_core/ptr_converter.h
  libc/test/src/stdio/sscanf_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142510.491922.patch
Type: text/x-patch
Size: 7042 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230124/c0468ab3/attachment.bin>


More information about the libc-commits mailing list