[all-commits] [llvm/llvm-project] dc9524: [libc++][format] Removes format sources.
Mark de Wever via All-commits
all-commits at lists.llvm.org
Tue May 16 11:31:59 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: dc95245e69a1c1098a744a2c3af83ca48d9ba495
https://github.com/llvm/llvm-project/commit/dc95245e69a1c1098a744a2c3af83ca48d9ba495
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2023-05-16 (Tue, 16 May 2023)
Changed paths:
M libcxx/CMakeLists.txt
M libcxx/include/__format/format_error.h
M libcxx/src/CMakeLists.txt
R libcxx/src/format.cpp
Log Message:
-----------
[libc++][format] Removes format sources.
The source file is used to anchor the destructor of format_error. When
format is moved from experimental to stable this code would move to the
dylib. One issue with code in the dylib is that it can't be used in
constexpr context. There is a proposal to make format work during
constant evaluation
P2758 Emitting messages at compile time
This paper has initially been received favourable by EWG. Therefore move
the code to the header. This also avoids possible availability issues on
Mac back deployment targets.
Note it is expected that format will no longer be experimental with the
next LLVM release.
Reviewed By: ldionne, #libc
Differential Revision: https://reviews.llvm.org/D150073
More information about the All-commits
mailing list