mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[NFC] Adopt new ImportPath types and terminology
# Conflicts: # lib/IDE/CodeCompletion.cpp
This commit is contained in:
@@ -214,7 +214,8 @@ static void indexModule(llvm::MemoryBuffer *Input,
|
||||
std::unique_ptr<ImplicitSerializedModuleLoader> Loader;
|
||||
ModuleDecl *Mod = nullptr;
|
||||
if (ModuleName == Ctx.StdlibModuleName.str()) {
|
||||
Mod = Ctx.getModule({ {Ctx.StdlibModuleName, SourceLoc()} });
|
||||
Mod = Ctx.getModule(ImportPath::Module::Builder(Ctx.StdlibModuleName)
|
||||
.get());
|
||||
} else {
|
||||
Loader = ImplicitSerializedModuleLoader::create(Ctx);
|
||||
auto Buf = std::unique_ptr<llvm::MemoryBuffer>(
|
||||
|
||||
Reference in New Issue
Block a user