[all-commits] [llvm/llvm-project] ca055b: [libc++][format] LWG4061: Should `std::basic_forma...
A. Jiang via All-commits
all-commits at lists.llvm.org
Tue Jul 9 03:24:11 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ca055bbec7ed27cb57b95a8f610aa5267fb7c30d
https://github.com/llvm/llvm-project/commit/ca055bbec7ed27cb57b95a8f610aa5267fb7c30d
Author: A. Jiang <de34 at live.cn>
Date: 2024-07-09 (Tue, 09 Jul 2024)
Changed paths:
M libcxx/docs/Status/Cxx2cIssues.csv
M libcxx/include/__format/format_context.h
M libcxx/test/std/utilities/format/format.formatter/format.context/format.context/ctor.pass.cpp
M libcxx/test/std/utilities/format/format.functions/bug_81590.compile.pass.cpp
Log Message:
-----------
[libc++][format] LWG4061: Should `std::basic_format_context` be default-constructible/copyable/movable? (#97251)
See [LWG4061](https://cplusplus.github.io/LWG/issue4061) and
[P3341R0](https://wg21.link/p3341r0). Effectively reverts commit
36ce0c3b1e581ca310ae7d0cbc6af002cc5d0251.
`libcxx/test/std/utilities/format/format.functions/bug_81590.compile.pass.cpp`
has a `format` function that unexpectedly takes the
`basic_format_context` by value, which is made ill-formed by LWG4061.
This PR changes the function to take the context by reference.
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