[libc++] Include C++ headers, not C headers, in <charconv>.
authorArthur O'Dwyer <arthur.j.odwyer@gmail.com>
Tue, 8 Dec 2020 02:45:29 +0000 (21:45 -0500)
committerArthur O'Dwyer <arthur.j.odwyer@gmail.com>
Fri, 11 Dec 2020 03:03:12 +0000 (22:03 -0500)
commitb12ea0652129da3b42642a0b76adbfab8833db53
treec4723350073700461c1b2e601712d79dd6e42b4a
parent0f1f13fcb17fbc8c93d505da989a04ab5cbd9ed3
[libc++] Include C++ headers, not C headers, in <charconv>.

This matches how libc++ does it in all other C++ headers
(that is, headers not ending in ".h").
We need to include <cstring> if we want to use `_VSTD::memmove`
instead of unqualified ADL `memmove`. Even though ADL doesn't
physically matter in <charconv>'s specific case, I'm trying
to migrate libc++ to using `_VSTD::memmove` for all cases
(because some of them do matter, and this way it's easier to
grep for outliers).

Differential Revision: https://reviews.llvm.org/D92875
libcxx/include/charconv