[all-commits] [llvm/llvm-project] e0f584: [libc++] Fix feature test macro for __cpp_lib_to_c...

Louis Dionne via All-commits all-commits at lists.llvm.org
Fri Nov 19 11:26:55 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e0f58444e126e80a0d43eb5b88622799910195e6
      https://github.com/llvm/llvm-project/commit/e0f58444e126e80a0d43eb5b88622799910195e6
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2021-11-19 (Fri, 19 Nov 2021)

  Changed paths:
    M libcxx/include/version
    R libcxx/test/std/language.support/support.limits/support.limits.general/charconv.pass.cpp
    A libcxx/test/std/language.support/support.limits/support.limits.general/charconv.version.pass.cpp
    R libcxx/test/std/language.support/support.limits/support.limits.general/memory_resource.version.pass.cpp
    M libcxx/test/std/language.support/support.limits/support.limits.general/utility.version.pass.cpp
    M libcxx/utils/generate_feature_test_macro_components.py

  Log Message:
  -----------
  [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




More information about the All-commits mailing list