[all-commits] [llvm/llvm-project] 04a314: [libc++][format] Fixes string-literal formatting.
mordante via All-commits
all-commits at lists.llvm.org
Wed Jun 1 08:49:23 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 04a3146caa0f25014c3c9c5ebce5b5a292d77fc9
https://github.com/llvm/llvm-project/commit/04a3146caa0f25014c3c9c5ebce5b5a292d77fc9
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2022-06-01 (Wed, 01 Jun 2022)
Changed paths:
M libcxx/include/__format/format_arg_store.h
M libcxx/test/std/utilities/format/format.functions/format_tests.h
Log Message:
-----------
[libc++][format] Fixes string-literal formatting.
Formatting a string-literal had an off-by-one issue where the NUL
terminator became part of the formatted output.
Reviewed By: #libc, ldionne
Differential Revision: https://reviews.llvm.org/D126665
More information about the All-commits
mailing list