[libcxx-commits] [PATCH] D126665: [libc++][format] Fixes string-literal formatting.

Mark de Wever via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon May 30 09:24:01 PDT 2022


Mordante created this revision.
Herald added a project: All.
Mordante requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

Formatting a string-literal had an off-by-one issue where the NUL
terminator became part of the formatted output.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D126665

Files:
  libcxx/include/__format/format_arg_store.h
  libcxx/test/std/utilities/format/format.functions/format_tests.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126665.432951.patch
Type: text/x-patch
Size: 5512 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220530/978fac6c/attachment.bin>


More information about the libcxx-commits mailing list