Sema: Remove isExportedAs, it's no longer used and it was outdated

This commit is contained in:
Alexis Laferrière
2023-12-20 10:30:41 -08:00
parent d7e39ff570
commit 8b91e4ca17
2 changed files with 0 additions and 12 deletions

View File

@@ -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()) {