[all-commits] [llvm/llvm-project] b29301: [libc++][format] Handle range-underlying-spec (#81...
Po-yao Chang via All-commits
all-commits at lists.llvm.org
Sun Mar 3 16:05:12 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b29301cd40441b5eb8cef9356429fb081e6b6a72
https://github.com/llvm/llvm-project/commit/b29301cd40441b5eb8cef9356429fb081e6b6a72
Author: Po-yao Chang <poyaoc97 at gmail.com>
Date: 2024-03-04 (Mon, 04 Mar 2024)
Changed paths:
M libcxx/include/__format/parser_std_format_spec.h
M libcxx/test/std/containers/container.adaptors/container.adaptors.format/format.functions.tests.h
M libcxx/test/std/containers/sequences/vector.bool/vector.bool.fmt/format.functions.tests.h
M libcxx/test/std/utilities/format/format.range/format.range.fmtmap/format.functions.tests.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.fmtstr/format.functions.tests.h
M libcxx/test/std/utilities/format/format.range/format.range.formatter/format.functions.tests.h
M libcxx/test/std/utilities/format/format.tuple/format.functions.tests.h
Log Message:
-----------
[libc++][format] Handle range-underlying-spec (#81914)
An immediate colon signifeis that the range-format-spec contains only
range-underlying-spec.
This patch allows this code to compile and run:
```c++
std::println("{::<<9?}", std::span<const char>{"Hello", sizeof "Hello"});
```
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list