mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Kill [stdlib] attribute.
Now that we have true serialized modules, the standard library can import the Builtin module without any special direction (beyond -parse-stdlib), and anyone can include those modules without special direction. Swift SVN r6752
This commit is contained in:
@@ -597,8 +597,7 @@ Module *ModuleFile::getModule(Identifier name) {
|
||||
auto importer = ModuleContext->Ctx.getClangModuleLoader();
|
||||
assert(importer && "no way to import shadowed module (recursive xref?)");
|
||||
ShadowedModule = importer->loadModule(SourceLoc(),
|
||||
std::make_pair(name, SourceLoc()),
|
||||
false);
|
||||
std::make_pair(name, SourceLoc()));
|
||||
assert(ShadowedModule && "missing shadowed module");
|
||||
}
|
||||
|
||||
@@ -606,8 +605,7 @@ Module *ModuleFile::getModule(Identifier name) {
|
||||
}
|
||||
|
||||
// FIXME: provide a real source location.
|
||||
return ModuleContext->Ctx.getModule(std::make_pair(name, SourceLoc()),
|
||||
false);
|
||||
return ModuleContext->Ctx.getModule(std::make_pair(name, SourceLoc()));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user