[all-commits] [llvm/llvm-project] e17ec8: [libc++] Make charconv require C++17 or later.
mordante via All-commits
all-commits at lists.llvm.org
Sat Oct 8 04:50:47 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e17ec8e9baa81d82cb1dde612b760dec72663d7b
https://github.com/llvm/llvm-project/commit/e17ec8e9baa81d82cb1dde612b760dec72663d7b
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2022-10-08 (Sat, 08 Oct 2022)
Changed paths:
M libcxx/docs/ReleaseNotes.rst
M libcxx/include/__charconv/chars_format.h
M libcxx/include/__charconv/from_chars_result.h
M libcxx/include/__charconv/tables.h
M libcxx/include/__charconv/to_chars_base_10.h
M libcxx/include/__charconv/to_chars_result.h
M libcxx/include/charconv
M libcxx/test/std/utilities/charconv/charconv.from.chars/integral.bool.fail.cpp
M libcxx/test/std/utilities/charconv/charconv.from.chars/integral.pass.cpp
M libcxx/test/std/utilities/charconv/charconv.from.chars/integral.roundtrip.pass.cpp
M libcxx/test/std/utilities/charconv/charconv.syn/chars_format.pass.cpp
M libcxx/test/std/utilities/charconv/charconv.to.chars/integral.bool.fail.cpp
M libcxx/test/std/utilities/charconv/charconv.to.chars/integral.pass.cpp
Log Message:
-----------
[libc++] Make charconv require C++17 or later.
Implementing the paper
P2291R3 Add Constexpr Modifiers to Functions to_chars and from_chars for
Integral Types in <charconv> Header
Gives issues in language versions prior to C++17. As suggested in
D131855 disable the code prior to C++17. This removes libc++'s
extension.
Reviewed By: ldionne, #libc_vendors, #libc, philnik
Differential Revision: https://reviews.llvm.org/D133216
More information about the All-commits
mailing list