mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Sema: Remove isExportedAs, it's no longer used and it was outdated
This commit is contained in:
@@ -2649,14 +2649,6 @@ const clang::Module *ModuleDecl::findUnderlyingClangModule() const {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
bool ModuleDecl::isExportedAs(const ModuleDecl *other) const {
|
||||
auto clangModule = findUnderlyingClangModule();
|
||||
if (!clangModule)
|
||||
return false;
|
||||
|
||||
return other->getRealName().str() == clangModule->ExportAsModule;
|
||||
}
|
||||
|
||||
void ModuleDecl::collectBasicSourceFileInfo(
|
||||
llvm::function_ref<void(const BasicSourceFileInfo &)> callback) const {
|
||||
for (const FileUnit *fileUnit : getFiles()) {
|
||||
|
||||
Reference in New Issue
Block a user