diff options
author | Jan Svoboda <jan_svoboda@apple.com> | 2022-08-15 17:27:43 -0700 |
---|---|---|
committer | Jan Svoboda <jan_svoboda@apple.com> | 2022-08-24 14:36:06 -0700 |
commit | 94e64df5763b49d750a9a87ecdd4a6583ad6154f (patch) | |
tree | 0f91e408e4f247f4b05a448d7ad4eed0fffba22f /lldb/packages/Python/lldbsuite/test/lldbutil.py | |
parent | 42af1a776abceee250a4047c4497338c37bdea94 (diff) | |
download | llvm-94e64df5763b49d750a9a87ecdd4a6583ad6154f.zip llvm-94e64df5763b49d750a9a87ecdd4a6583ad6154f.tar.gz llvm-94e64df5763b49d750a9a87ecdd4a6583ad6154f.tar.bz2 |
[clang][modules] Consider M affecting after mapping M.Private to M_Private
When Clang encounters `@import M.Private` during implicit build, it precompiles module `M` and looks through its submodules. If the `Private` submodule is not found, Clang assumes `@import M_Private`. In the dependency scanner, we don't capture the dependency on `M`, since it's not imported. It's an affecting module, though: compilation of the import statement will fail when implicit modules are disabled and `M` is not precompiled and explicitly provided. This patch fixes that.
Depends on D132430.
Reviewed By: benlangmuir
Differential Revision: https://reviews.llvm.org/D132502
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbutil.py')
0 files changed, 0 insertions, 0 deletions