[libc-commits] [PATCH] D141162: [libc] add internal string class

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Fri Jan 6 15:04:35 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.

The scanf implementation needs a dynamically resizing string class. This
patch adds a minimal version of that class along with tests to check the
current functionality.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D141162

Files:
  libc/src/__support/CPP/CMakeLists.txt
  libc/src/__support/CPP/vector_string.h
  libc/test/src/__support/CPP/CMakeLists.txt
  libc/test/src/__support/CPP/stringview_test.cpp
  libc/test/src/__support/CPP/vector_string_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141162.486995.patch
Type: text/x-patch
Size: 7080 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230106/326eea37/attachment.bin>


More information about the libc-commits mailing list