Files
swift-mirror/test/Interop/Cxx/modules/Inputs/module.modulemap
Egor Zhdan 106a6af850 [cxx-interop] Determine owning module correctly for C++ decls in nested modules
This fixes a compiler bug that got exposed by f11abac652.

If a C++ type is declared in a nested Clang submodule, Swift was emitting errors that look like:
```
Type alias 'string' is not available due to missing import of defining module 'fwd’
```

rdar://146899125
2025-03-20 19:14:46 +00:00

20 lines
317 B
Plaintext

module Namespaces {
header "namespace.h"
requires cplusplus
}
module TopLevelModule {
module SubModule {
module DeepSubModule {
header "deep-submodule.h"
export *
}
module AnotherDeepSubModule {
header "another-deep-submodule.h"
export *
}
export *
}
export *
}