We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1752b48 commit a46fcedCopy full SHA for a46fced
lib/ClangImporter/ClangImporter.cpp
@@ -2187,7 +2187,7 @@ ModuleDecl *ClangImporter::Implementation::loadModuleClang(
2187
// Verify that the submodule exists.
2188
clang::Module *submodule = clangModule;
2189
for (auto &component : path.getSubmodulePath()) {
2190
- submodule = submodule->findSubmodule(component.Item.str());
+ submodule = submodule->findOrInferSubmodule(component.Item.str());
2191
2192
// Special case: a submodule named "Foo.Private" can be moved to a top-level
2193
// module named "Foo_Private". Clang has special support for this.
0 commit comments