mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[CodeCompletion] Complete Swift only module name after 'import'
rdar://problem/39392446
This commit is contained in:
@@ -1377,3 +1377,10 @@ bool ParseableInterfaceModuleLoader::buildSwiftModuleFromSwiftInterface(
|
||||
return builder.buildSwiftModule(OutPath, /*shouldSerializeDeps*/true,
|
||||
/*ModuleBuffer*/nullptr);
|
||||
}
|
||||
|
||||
void ParseableInterfaceModuleLoader::collectVisibleTopLevelModuleNames(
|
||||
SmallVectorImpl<Identifier> &names) const {
|
||||
collectVisibleTopLevelModuleNamesImpl(
|
||||
names,
|
||||
file_types::getExtension(file_types::TY_SwiftParseableInterfaceFile));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user