mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[SymbolGraphGen] only include the given symbol for qualified imports (#59852)
* only include the given symbol for qualified imports rdar://96309088 * re-exporting one type should not allow unrelated types to sneak in * ensure that children of re-exported types are also re-exported
This commit is contained in:
@@ -949,7 +949,9 @@ inline SourceLoc extractNearestSourceLoc(const ModuleDecl *mod) {
|
||||
}
|
||||
|
||||
/// Collects modules that this module imports via `@_exported import`.
|
||||
void collectParsedExportedImports(const ModuleDecl *M, SmallPtrSetImpl<ModuleDecl *> &Imports);
|
||||
void collectParsedExportedImports(const ModuleDecl *M,
|
||||
SmallPtrSetImpl<ModuleDecl *> &Imports,
|
||||
llvm::SmallDenseMap<ModuleDecl *, SmallPtrSet<Decl *, 4>, 4> &QualifiedImports);
|
||||
|
||||
} // end namespace swift
|
||||
|
||||
|
||||
Reference in New Issue
Block a user