forked from OSchip/llvm-project
![]() The new version is a lot simpler and has less option which were not used. This uses the CSV files as generated by D133127 as input data. The current Python script has more features but uses a simple "grep" making the output less accurate: - Conditionally included header are always included. This is an issue since part of our includes are unneeded transitive includes. Based on the language version they may be omitted. The script however always includes them. - Includes in comments are processed as-if they are includes. This is an issue when comments explain how certain data is generated; of course there are digraphs which the script omits. This implementation uses Clang's --trace-includes to generate the includes per header. This means the input of the generation script always has the real list of includes. Libc++ is moving from large monolithic Standard headers to more fine grained headers. For example, algorithm includes every header in `__algorithm`. Adding all these detail headers in the graph makes the output unusable. Instead it only shows the Standard headers. The transitive includes of the detail headers are parsed and "attributed" to the Standard header including them. This gives an accurate include graph without the unneeded clutter. Note that this graph is still big. This changes fixes the cyclic dependency issue with the previous version of the tool so the markers and its documentation is removed. Since the input has no cycles the CI test is removed. Reviewed By: #libc, ldionne Differential Revision: https://reviews.llvm.org/D134188 |
||
---|---|---|
.. | ||
ci | ||
data/unicode | ||
gdb/libcxx | ||
libcxx | ||
symcheck-blacklists | ||
CMakeLists.txt | ||
cat_files.py | ||
generate_abi_list.py | ||
generate_extended_grapheme_cluster_table.py | ||
generate_extended_grapheme_cluster_test.py | ||
generate_feature_test_macro_components.py | ||
generate_header_inclusion_tests.py | ||
generate_header_tests.py | ||
graph_header_deps.py | ||
run.py | ||
ssh.py | ||
sym_diff.py |