[libc++] Fix feature test macro for __cpp_lib_to_chars
authorLouis Dionne <ldionne.2@gmail.com>
Fri, 19 Nov 2021 14:52:28 +0000 (09:52 -0500)
committerLouis Dionne <ldionne.2@gmail.com>
Fri, 19 Nov 2021 19:26:34 +0000 (14:26 -0500)
commite0f58444e126e80a0d43eb5b88622799910195e6
tree90b24b59e843dfe5c14c253cf081f5395ef116d8
parente1ce3dabf0c70d30a24f0586ddf2a965d730d30a
[libc++] Fix feature test macro for __cpp_lib_to_chars

We would have been defining it in <utility> instead of <charconv>. For
the time being, this doesn't change anything since we don't implement
the feature test macro anyways.

Also, as a fly-by, this removes obsolete feature test macro tests. There
was a brief time back in the days when we wrote feature test macro tests
manually. In particular, we had test files for __cpp_lib_to_chars and
__cpp_lib_memory_resource. Since we now have a principled way of generating
these tests with scripts, this commit removes the obsolete (and empty)
tests for these two feature test macros.

Differential Revision: https://reviews.llvm.org/D114243
libcxx/include/version
libcxx/test/std/language.support/support.limits/support.limits.general/charconv.pass.cpp [deleted file]
libcxx/test/std/language.support/support.limits/support.limits.general/charconv.version.pass.cpp [new file with mode: 0644]
libcxx/test/std/language.support/support.limits/support.limits.general/memory_resource.version.pass.cpp [deleted file]
libcxx/test/std/language.support/support.limits/support.limits.general/utility.version.pass.cpp
libcxx/utils/generate_feature_test_macro_components.py