llvm-capstone/libcxx/utils
Louis Dionne 127c390fc4
[libc++] Rewrite the IWYU generation (#78295)
This simplifies the IWYU generation script by treating everything as a
file, instead of dealing with directories and files separately.

This has the downside that the `libcxx.imp` file is a lot larger than it
used to be, however we now have the flexibility of mapping files under
detail directories to different public headers. For example, this allows
us to map <__fwd/subrange.h> to <ranges> but <__fwd/pair.h> to
<utility>.

This patch also adds basic validation to ensure that we never map a
header to a public header that doesn't exist. We may still be missing
some mappings or we may be mapping to incorrect headers, but we won't be
mapping to headers that downright don't exist.

Fixes #63346
2024-01-16 13:45:05 -05:00
..
ci [libc++] tests with picolibc: update picolibc (#77908) 2024-01-12 17:32:04 -05:00
data/unicode [libc++] Remove the ignore_format.txt file (#73135) 2023-11-22 15:21:01 -05:00
gdb/libcxx [libc++] Remove unused Python imports (#73724) 2023-11-29 09:25:06 -05:00
libcxx [libc++] Rewrite the IWYU generation (#78295) 2024-01-16 13:45:05 -05:00
symcheck-blacklists
adb_run.py [libc++] Remove unused Python imports (#73724) 2023-11-29 09:25:06 -05:00
cat_files.py [NFC][Py Reformat] Reformat python files in libcxx/libcxxabi 2023-05-25 11:15:34 +02:00
clang-format-merge-driver.sh [libc++] Add a merge driver that can apply clang-format (#73712) 2023-12-04 15:24:37 -05:00
CMakeLists.txt [libc++][modules] Adds std.compat module. (#71438) 2023-12-09 13:51:50 +01:00
generate_abi_list.py [NFC][Py Reformat] Reformat python files in libcxx/libcxxabi 2023-05-25 11:15:34 +02:00
generate_escaped_output_table.py [libc++][NFC] Add a few clang-format annotations (#74352) 2023-12-04 15:17:31 -05:00
generate_extended_grapheme_cluster_table.py [libc++][NFC] Add a few clang-format annotations (#74352) 2023-12-04 15:17:31 -05:00
generate_extended_grapheme_cluster_test.py [libc++] Remove unused Python imports (#73724) 2023-11-29 09:25:06 -05:00
generate_feature_test_macro_components.py Reapply "[libc++][streams] P1759R6: Native handles and file streams" (#77190) 2024-01-07 18:01:03 +02:00
generate_iwyu_mapping.py [libc++] Rewrite the IWYU generation (#78295) 2024-01-16 13:45:05 -05:00
generate_libcxx_cppm_in.py [libc++][modules] Adds std.compat module. (#71438) 2023-12-09 13:51:50 +01:00
generate_std_clang_module_header.py [libc++] Remove unused Python imports (#73724) 2023-11-29 09:25:06 -05:00
generate_width_estimation_table.py [libc++] Remove unused Python imports (#73724) 2023-11-29 09:25:06 -05:00
graph_header_deps.py [libc++] Remove unused Python imports (#73724) 2023-11-29 09:25:06 -05:00
libcxx-lit [libc++] Add support for bootstrapping build in libcxx-lit 2023-09-07 12:05:43 -04:00
qemu_baremetal.py [libcxx] Require qemu-system-arm for armv7m builder (#77067) 2024-01-08 08:55:39 +00:00
run.py [libc++] Fix how we run codesign in the test suite when --codesign_identity is provided 2023-09-21 13:34:58 -04:00
ssh.py [libc++] Make sure we forward stdin through executors (#67064) 2023-09-25 09:50:07 -04:00
sym_diff.py [NFC][Py Reformat] Reformat python files in libcxx/libcxxabi 2023-05-25 11:15:34 +02:00
zos_rename_dll_side_deck.sh [SystemZ][z/OS] Add ASCII and 32-bit variants for libc++. 2022-10-03 17:24:02 -05:00