mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
AST: Clarify SourceFile's existing missing imports record.
In anticipation of adding a new kind of missing import record to `SourceFile`, clarify the purpose of the existing "missing imports" record with more specific naming and documentation.
This commit is contained in:
@@ -1034,8 +1034,8 @@ public:
|
||||
ImportFilter filter = ImportFilterKind::Exported) const;
|
||||
|
||||
/// Lists modules that are not imported from a file and used in API.
|
||||
void
|
||||
getMissingImportedModules(SmallVectorImpl<ImportedModule> &imports) const;
|
||||
void getImplicitImportsForModuleInterface(
|
||||
SmallVectorImpl<ImportedModule> &imports) const;
|
||||
|
||||
/// Looks up which modules are imported by this module, ignoring any that
|
||||
/// won't contain top-level decls.
|
||||
|
||||
Reference in New Issue
Block a user