[all-commits] [llvm/llvm-project] e98052: [libc++] Move libcxx/test/libcxx/extensions to lib...

Nikolas Klauser via All-commits all-commits at lists.llvm.org
Fri Jun 27 04:16:58 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e9805235bf685e81b7092e629aec3c097030ec6b
      https://github.com/llvm/llvm-project/commit/e9805235bf685e81b7092e629aec3c097030ec6b
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2025-06-27 (Fri, 27 Jun 2025)

  Changed paths:
    A libcxx/test/extensions/gnu/hash/specializations.pass.cpp
    A libcxx/test/extensions/gnu/hash/specializations.verify.cpp
    A libcxx/test/extensions/gnu/hash_map/const_iterator.verify.cpp
    A libcxx/test/extensions/gnu/lit.local.cfg
    R libcxx/test/libcxx/extensions/hash/specializations.compile.fail.cpp
    R libcxx/test/libcxx/extensions/hash/specializations.pass.cpp
    R libcxx/test/libcxx/extensions/hash_map/const_iterator.compile.fail.cpp

  Log Message:
  -----------
  [libc++] Move libcxx/test/libcxx/extensions to libcxx/test/extensions and update the tests (#145476)

This patch adds a separate `extensions` directory, since there are quite
a few extensions in libc++ that aren't necessarily libc++-specific. For
example, the tests currently in `libcxx/test/libcxx/extensions` should
also pass with libstdc++, since they originally added the extension.
This also "documents" what users are allowed to rely on and what parts
are just libc++ tests to make sure our implementation is behaving as we
expect, which may be subject to change.

This patch also formats the tests and refactors `.fail.cpp` tests to
`.verify.cpp` tests.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list