mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Remove SourceFile::addVisibleDecl.
`SourceFile::addVisibleDecl` is an unnecessary API. It was upstreamed in https://github.com/apple/swift/pull/30821.
This commit is contained in:
@@ -2232,11 +2232,6 @@ SourceFile::getCachedVisibleDecls() const {
|
||||
return getCache().AllVisibleValues;
|
||||
}
|
||||
|
||||
void SourceFile::addVisibleDecl(ValueDecl *decl) {
|
||||
Decls->push_back(decl);
|
||||
getCache().AllVisibleValues.push_back(decl);
|
||||
}
|
||||
|
||||
static void performAutoImport(
|
||||
SourceFile &SF,
|
||||
SourceFile::ImplicitModuleImportKind implicitModuleImportKind) {
|
||||
|
||||
Reference in New Issue
Block a user