Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,607 changes: 1,597 additions & 10 deletions libcxx/test/libcxx/transitive_includes/cxx03.csv

Large diffs are not rendered by default.

1,603 changes: 1,593 additions & 10 deletions libcxx/test/libcxx/transitive_includes/cxx11.csv

Large diffs are not rendered by default.

1,653 changes: 1,643 additions & 10 deletions libcxx/test/libcxx/transitive_includes/cxx14.csv

Large diffs are not rendered by default.

1,620 changes: 1,612 additions & 8 deletions libcxx/test/libcxx/transitive_includes/cxx17.csv

Large diffs are not rendered by default.

1,593 changes: 1,593 additions & 0 deletions libcxx/test/libcxx/transitive_includes/cxx20.csv

Large diffs are not rendered by default.

596 changes: 596 additions & 0 deletions libcxx/test/libcxx/transitive_includes/cxx23.csv

Large diffs are not rendered by default.

596 changes: 596 additions & 0 deletions libcxx/test/libcxx/transitive_includes/cxx26.csv

Large diffs are not rendered by default.

12 changes: 4 additions & 8 deletions libcxx/test/libcxx/transitive_includes_to_csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,12 @@ def is_libcxx_header(header: str) -> bool:

def parse_file(file: pathlib.Path) -> List[str]:
"""
Parse a file containing --trace-include output to generate a list of the top-level C++ includes
Parse a file containing --trace-includes output to generate a list of the top-level C++ includes
contained in it.

This effectively generates the dependency graph of C++ Standard Library headers of the header
whose --trace-include it is. In order to get the expected result of --trace-include, the
-fshow-skipped-includes flag also needs to be passed.
This effectively generates the list of public libc++ headers of the header whose --trace-includes it is.
In order to get the expected result of --trace-includes, the -fshow-skipped-includes flag also needs to
be passed.
"""
result = list()
with file.open(encoding="utf-8") as f:
Expand All @@ -87,10 +87,6 @@ def parse_file(file: pathlib.Path) -> List[str]:
result.append(header)
continue

# Skip libc++ headers included transitively.
if header.level > level:
continue

# Detail headers are transparent too: we attribute all includes of public libc++
# headers under a detail header to the last public libc++ header that included it.
if header.name.startswith("__") or re.search(r"(/|\\\\)__", header.name):
Expand Down
46 changes: 0 additions & 46 deletions libcxx/utils/graph_header_deps.py

This file was deleted.