aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/Binary.cpp
diff options
context:
space:
mode:
authorLouis Dionne <ldionne.2@gmail.com>2024-01-16 13:45:05 -0500
committerGitHub <noreply@github.com>2024-01-16 13:45:05 -0500
commit127c390fc413f8f267b085b153e6d21f84c7886e (patch)
tree7ca2531fc22b488e753f096dff7ad7487095bb95 /llvm/lib/Object/Binary.cpp
parent8803112beedde4d7b7d396bea457085a754914f3 (diff)
downloadllvm-127c390fc413f8f267b085b153e6d21f84c7886e.zip
llvm-127c390fc413f8f267b085b153e6d21f84c7886e.tar.gz
llvm-127c390fc413f8f267b085b153e6d21f84c7886e.tar.bz2
[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
Diffstat (limited to 'llvm/lib/Object/Binary.cpp')
0 files changed, 0 insertions, 0 deletions