[libc-commits] [PATCH] D138880: [libc] add scanf int conversions

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Mon Nov 28 16:43:50 PST 2022


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 integer conversions %d/i/u/o/x/X to scanf as well as
unit tests to check their correctness.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D138880

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138880.478416.patch
Type: text/x-patch
Size: 18443 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20221129/fdd6c866/attachment-0001.bin>


More information about the libc-commits mailing list