[libc-commits] [PATCH] D144145: [libc] add mock arg list

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Wed Feb 15 16:08:43 PST 2023


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

For testing purposes we need to be able to mock out the ArgList class.
This patch adds a mock version of that class as well as a flag to enable
it.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D144145

Files:
  libc/src/__support/arg_list.h
  libc/src/stdio/fprintf.cpp
  libc/src/stdio/fscanf.cpp
  libc/src/stdio/printf.cpp
  libc/src/stdio/printf_core/parser.h
  libc/src/stdio/printf_core/printf_main.cpp
  libc/src/stdio/printf_core/printf_main.h
  libc/src/stdio/printf_core/vfprintf_internal.cpp
  libc/src/stdio/printf_core/vfprintf_internal.h
  libc/src/stdio/scanf.cpp
  libc/src/stdio/scanf_core/parser.h
  libc/src/stdio/scanf_core/scanf_main.cpp
  libc/src/stdio/scanf_core/scanf_main.h
  libc/src/stdio/scanf_core/vfscanf_internal.cpp
  libc/src/stdio/scanf_core/vfscanf_internal.h
  libc/src/stdio/snprintf.cpp
  libc/src/stdio/sprintf.cpp
  libc/src/stdio/sscanf.cpp
  libc/test/src/__support/arg_list_test.cpp
  libc/test/src/stdio/printf_core/parser_test.cpp
  libc/test/src/stdio/scanf_core/parser_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144145.497836.patch
Type: text/x-patch
Size: 18198 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230216/03c313cd/attachment-0001.bin>


More information about the libc-commits mailing list