[libc-commits] [PATCH] D123061: [libc] Add holder class for va_lists

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Mon Apr 4 12:11:35 PDT 2022


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

This class is intended to be used in cases where a class is being used
on a va_list. It provides destruction and copy semantics with small
overhead. This is intended to be used in printf.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D123061

Files:
  libc/src/__support/CMakeLists.txt
  libc/src/__support/vlist_holder.h
  libc/test/src/__support/CMakeLists.txt
  libc/test/src/__support/vlist_holder_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123061.420268.patch
Type: text/x-patch
Size: 3854 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20220404/755e9da9/attachment.bin>


More information about the libc-commits mailing list