mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
remove a dead function.
Swift SVN r11229
This commit is contained in:
@@ -481,12 +481,6 @@ ModuleFile::ModuleFile(std::unique_ptr<llvm::MemoryBuffer> input)
|
||||
}
|
||||
}
|
||||
|
||||
static NominalTypeDecl *getAnyNominal(Decl *D) {
|
||||
if (auto extension = dyn_cast<ExtensionDecl>(D))
|
||||
D = extension->getExtendedType()->getAnyNominal();
|
||||
return dyn_cast_or_null<NominalTypeDecl>(D);
|
||||
}
|
||||
|
||||
bool ModuleFile::associateWithFileContext(FileUnit *file) {
|
||||
PrettyModuleFileDeserialization stackEntry(*this);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user