[all-commits] [llvm/llvm-project] dea7a8: [libc++] Don't use static constexpr in headers.
mordante via All-commits
all-commits at lists.llvm.org
Tue Jun 7 09:47:57 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: dea7a8e616daca3d487470cd9f648e94470f1afc
https://github.com/llvm/llvm-project/commit/dea7a8e616daca3d487470cd9f648e94470f1afc
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2022-06-07 (Tue, 07 Jun 2022)
Changed paths:
M libcxx/include/__charconv/tables.h
M libcxx/include/__charconv/to_chars_base_10.h
M libcxx/include/charconv
M libcxx/src/include/ryu/digit_table.h
Log Message:
-----------
[libc++] Don't use static constexpr in headers.
This was noticed in the review of D125704. In that commit only the new
table has been adapted. This adapts the existing tables.
Note since libc++'s charconv is backported to C++11 it's not possible to
use inline constexpr variables. The were introduced in C++17.
Reviewed By: #libc, ldionne
Differential Revision: https://reviews.llvm.org/D126887
More information about the All-commits
mailing list