diff options
author | Louis Dionne <ldionne.2@gmail.com> | 2024-10-22 09:18:58 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-22 09:18:58 -0400 |
commit | d6e714b10e102eb32e64e04bf177226dbe16d0e7 (patch) | |
tree | ea3cb077df586ccb4f3f85bc13fc290815f56805 /clang/lib/Basic/Module.cpp | |
parent | c623df38c97d40889f2691775019dba32ac22c9b (diff) | |
download | llvm-d6e714b10e102eb32e64e04bf177226dbe16d0e7.zip llvm-d6e714b10e102eb32e64e04bf177226dbe16d0e7.tar.gz llvm-d6e714b10e102eb32e64e04bf177226dbe16d0e7.tar.bz2 |
[libc++] Rewrite the transitive header checking machinery (#110554)
Since we don't generate a full dependency graph of headers, we can
greatly simplify the script that parses the result of --trace-includes.
At the same time, we also unify the mechanism for detecting whether a
header is a public/C compat/internal/etc header with the existing
mechanism in header_information.py.
As a drive-by this fixes the headers_in_modulemap.sh.py test which had
been disabled by mistake because it used its own way of determining
the list of libc++ headers. By consistently using header_information.py
to get that information, problems like this shouldn't happen anymore.
This should also unblock #110303, which was blocked because of
a brittle implementation of the transitive includes check which broke
when the repository was cloned at a path like /path/__something/more.
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions