Files
swift-mirror/test/ClangImporter/Inputs/submodules-bridging-header.h
Jordan Rose 6754cc6dd0 [ClangImporter] Handle submodule imports in bridging headers
If a bridging header imported a submodule but /not/ the top-level
module, the top-level module would never be made visible. This is a
problem since the Clang importer makes all top-level decls available
through their enclosing top-level modules, not the individual
submodules.

To fix this, stop special-casing the way we handle bridging header
imports; we can translate them from Clang Modules to Swift ModuleDecls
the same way we do for regular imports.

rdar://problem/37355259
2018-02-08 11:35:56 -08:00

2 lines
25 B
C