[all-commits] [llvm/llvm-project] 347a65: [libc++][format] Fixes invalid usage of m type.
Mark de Wever via All-commits
all-commits at lists.llvm.org
Tue Mar 7 09:59:12 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 347a65a16493f00ee3eaeaeaf11d3611c62343eb
https://github.com/llvm/llvm-project/commit/347a65a16493f00ee3eaeaeaf11d3611c62343eb
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2023-03-07 (Tue, 07 Mar 2023)
Changed paths:
M libcxx/include/__format/concepts.h
M libcxx/test/std/utilities/format/format.range/format.range.fmtset/format.functions.tests.h
M libcxx/test/std/utilities/format/format.range/format.range.formatter/format.functions.tests.h
Log Message:
-----------
[libc++][format] Fixes invalid usage of m type.
The m type in a range formatter may only be used when a pair or a tuple
with two elements is used. This was not correctly validated as reported
in llvm.org/PR60995.
Reviewed By: ldionne, #libc
Differential Revision: https://reviews.llvm.org/D145309
More information about the All-commits
mailing list