[libcxx-commits] [libcxx] bfc253c - [libc++][nfc] Improve standard conformance.
Mark de Wever via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Nov 16 08:30:39 PST 2021
Author: Mark de Wever
Date: 2021-11-16T17:30:35+01:00
New Revision: bfc253c00068a5c5252647b6a09aef7b5f232501
URL: https://github.com/llvm/llvm-project/commit/bfc253c00068a5c5252647b6a09aef7b5f232501
DIFF: https://github.com/llvm/llvm-project/commit/bfc253c00068a5c5252647b6a09aef7b5f232501.diff
LOG: [libc++][nfc] Improve standard conformance.
The return type of the deleted functions doesn't match the synopsis in
the standard.
Reviewed By: #libc, ldionne
Differential Revision: https://reviews.llvm.org/D114000
Added:
Modified:
libcxx/include/charconv
Removed:
################################################################################
diff --git a/libcxx/include/charconv b/libcxx/include/charconv
index 447cef97a210..c0e43e571551 100644
--- a/libcxx/include/charconv
+++ b/libcxx/include/charconv
@@ -107,8 +107,8 @@ _LIBCPP_AVAILABILITY_TO_CHARS _LIBCPP_FUNC_VIS char* __u32toa(uint32_t __value,
#ifndef _LIBCPP_CXX03_LANG
-void to_chars(char*, char*, bool, int = 10) = delete;
-void from_chars(const char*, const char*, bool, int = 10) = delete;
+to_chars_result to_chars(char*, char*, bool, int = 10) = delete;
+from_chars_result from_chars(const char*, const char*, bool, int = 10) = delete;
namespace __itoa
{
More information about the libcxx-commits
mailing list