mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge branch 'main' into elsh/pkg-sil-verify
This commit is contained in:
@@ -1279,6 +1279,11 @@ void collectParsedExportedImports(const ModuleDecl *M,
|
||||
llvm::SmallDenseMap<ModuleDecl *, SmallPtrSet<Decl *, 4>, 4> &QualifiedImports,
|
||||
llvm::function_ref<bool(AttributedImport<ImportedModule>)> includeImport = nullptr);
|
||||
|
||||
/// If the import that would make the given declaration visibile is absent,
|
||||
/// emit a diagnostic and a fix-it suggesting adding the missing import.
|
||||
bool diagnoseMissingImportForMember(const ValueDecl *decl,
|
||||
const DeclContext *dc, SourceLoc loc);
|
||||
|
||||
} // end namespace swift
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user