[all-commits] [llvm/llvm-project] c0f4b1: [libc++] Transition several remaining generated te...

Louis Dionne via All-commits all-commits at lists.llvm.org
Fri Jun 2 10:02:56 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c0f4b12da41583a97b94cd19a86e27ff4298b599
      https://github.com/llvm/llvm-project/commit/c0f4b12da41583a97b94cd19a86e27ff4298b599
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2023-06-02 (Fri, 02 Jun 2023)

  Changed paths:
    A libcxx/test/libcxx/clang_tidy.gen.py
    R libcxx/test/libcxx/clang_tidy.sh.cpp
    A libcxx/test/libcxx/double_include.gen.py
    R libcxx/test/libcxx/double_include.sh.cpp
    R libcxx/test/libcxx/min_max_macros.compile.pass.cpp
    A libcxx/test/libcxx/min_max_macros.gen.py
    A libcxx/test/libcxx/modules_include.gen.py
    R libcxx/test/libcxx/modules_include.sh.cpp
    R libcxx/test/libcxx/nasty_macros.compile.pass.cpp
    A libcxx/test/libcxx/nasty_macros.gen.py
    R libcxx/test/libcxx/no_assert_include.compile.pass.cpp
    A libcxx/test/libcxx/no_assert_include.gen.py
    A libcxx/test/libcxx/private_headers.gen.py
    R libcxx/test/libcxx/private_headers.verify.cpp
    M libcxx/utils/generate_header_tests.py

  Log Message:
  -----------
  [libc++] Transition several remaining generated tests to the new .gen format

In addition to reducing the amount of boilerplate we need to generate
whenever a new header is added, this also improves the existing tests
by running them in separate Lit tests (so they can be parallelized).
This also creates separate translation units for most header tests,
which is what we really should have done from the start since it
isolates each header we're testing.

Differential Revision: https://reviews.llvm.org/D151654




More information about the All-commits mailing list