[libcxx-commits] [PATCH] D151830: [libc++] Refactor the mandatory header inclusion tests to .gen.py

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed May 31 12:37:45 PDT 2023


ldionne created this revision.
Herald added subscribers: smeenai, arphaman, arichardson.
Herald added a project: All.
ldionne requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

This allows removing a bunch of boilerplate from the test suite and
reducing the amount of manual stuff contributors have to do when they
add a new public header.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D151830

Files:
  libcxx/docs/Contributing.rst
  libcxx/include/typeinfo
  libcxx/test/libcxx/header_inclusions.gen.py
  libcxx/test/libcxx/inclusions/algorithm.inclusions.compile.pass.cpp
  libcxx/test/libcxx/inclusions/array.inclusions.compile.pass.cpp
  libcxx/test/libcxx/inclusions/bitset.inclusions.compile.pass.cpp
  libcxx/test/libcxx/inclusions/chrono.inclusions.compile.pass.cpp
  libcxx/test/libcxx/inclusions/cinttypes.inclusions.compile.pass.cpp
  libcxx/test/libcxx/inclusions/complex.h.inclusions.compile.pass.cpp
  libcxx/test/libcxx/inclusions/coroutine.inclusions.compile.pass.cpp
  libcxx/test/libcxx/inclusions/deque.inclusions.compile.pass.cpp
  libcxx/test/libcxx/inclusions/filesystem.inclusions.compile.pass.cpp
  libcxx/test/libcxx/inclusions/forward_list.inclusions.compile.pass.cpp
  libcxx/test/libcxx/inclusions/ios.inclusions.compile.pass.cpp
  libcxx/test/libcxx/inclusions/iostream.inclusions.compile.pass.cpp
  libcxx/test/libcxx/inclusions/iterator.inclusions.compile.pass.cpp
  libcxx/test/libcxx/inclusions/list.inclusions.compile.pass.cpp
  libcxx/test/libcxx/inclusions/map.inclusions.compile.pass.cpp
  libcxx/test/libcxx/inclusions/memory.inclusions.compile.pass.cpp
  libcxx/test/libcxx/inclusions/optional.inclusions.compile.pass.cpp
  libcxx/test/libcxx/inclusions/queue.inclusions.compile.pass.cpp
  libcxx/test/libcxx/inclusions/random.inclusions.compile.pass.cpp
  libcxx/test/libcxx/inclusions/ranges.inclusions.compile.pass.cpp
  libcxx/test/libcxx/inclusions/regex.inclusions.compile.pass.cpp
  libcxx/test/libcxx/inclusions/set.inclusions.compile.pass.cpp
  libcxx/test/libcxx/inclusions/stack.inclusions.compile.pass.cpp
  libcxx/test/libcxx/inclusions/string.inclusions.compile.pass.cpp
  libcxx/test/libcxx/inclusions/string_view.inclusions.compile.pass.cpp
  libcxx/test/libcxx/inclusions/system_error.inclusions.compile.pass.cpp
  libcxx/test/libcxx/inclusions/tgmath.h.inclusions.compile.pass.cpp
  libcxx/test/libcxx/inclusions/thread.inclusions.compile.pass.cpp
  libcxx/test/libcxx/inclusions/tuple.inclusions.compile.pass.cpp
  libcxx/test/libcxx/inclusions/typeindex.inclusions.compile.pass.cpp
  libcxx/test/libcxx/inclusions/unordered_map.inclusions.compile.pass.cpp
  libcxx/test/libcxx/inclusions/unordered_set.inclusions.compile.pass.cpp
  libcxx/test/libcxx/inclusions/utility.inclusions.compile.pass.cpp
  libcxx/test/libcxx/inclusions/valarray.inclusions.compile.pass.cpp
  libcxx/test/libcxx/inclusions/variant.inclusions.compile.pass.cpp
  libcxx/test/libcxx/inclusions/vector.inclusions.compile.pass.cpp
  libcxx/utils/CMakeLists.txt
  libcxx/utils/generate_header_inclusion_tests.py
  libcxx/utils/libcxx/test/header_information.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151830.527163.patch
Type: text/x-patch
Size: 58657 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230531/6c7ae537/attachment-0001.bin>


More information about the libcxx-commits mailing list