diff options
author | Richard Smith <richard@metafoo.co.uk> | 2020-04-17 20:25:15 -0700 |
---|---|---|
committer | Richard Smith <richard@metafoo.co.uk> | 2020-04-17 22:49:58 -0700 |
commit | 6bc7502385cc2a06954082a7d0e6418e610d35f4 (patch) | |
tree | ec3bac247a76bf492aa39a3679b59cd0e6eb28b7 /llvm/lib/Object/MachOObjectFile.cpp | |
parent | fc76b4ad3da3c1f5fdc34370a55d613b3ca7af73 (diff) | |
download | llvm-6bc7502385cc2a06954082a7d0e6418e610d35f4.zip llvm-6bc7502385cc2a06954082a7d0e6418e610d35f4.tar.gz llvm-6bc7502385cc2a06954082a7d0e6418e610d35f4.tar.bz2 |
When making modules transitively visible, don't take into account
whether they have missing header files.
Whether a module's headers happen to be present on the local file system
should make no difference to whether we make its contents visible when
importing another module that re-exports it. If we have an up-to-date
AST file that we can load, that's all that matters.
This fixes the ability to header syntax checking for modular headers in
C++20 mode (or in prior modes where -fmodules-local-submodule-visibility
is enabled but -fmodules is not).
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions