mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge remote-tracking branch 'upstream/master' into master-next
This commit is contained in:
@@ -268,6 +268,8 @@ static bool emitLoadedModuleTraceIfNeeded(ModuleDecl *mainModule,
|
||||
for (auto &module : ctxt.LoadedModules) {
|
||||
ModuleDecl *loadedDecl = module.second;
|
||||
assert(loadedDecl && "Expected loaded module to be non-null.");
|
||||
if (loadedDecl == mainModule)
|
||||
continue;
|
||||
assert(!loadedDecl->getModuleFilename().empty()
|
||||
&& "Don't know how to handle modules with empty names.");
|
||||
pathToModuleDecl.insert(
|
||||
|
||||
Reference in New Issue
Block a user