mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge remote-tracking branch 'origin/main' into rebranch
This commit is contained in:
@@ -613,7 +613,7 @@ void ModuleFile::loadExtensions(NominalTypeDecl *nominal) {
|
||||
}
|
||||
|
||||
void ModuleFile::loadObjCMethods(
|
||||
ClassDecl *classDecl,
|
||||
NominalTypeDecl *typeDecl,
|
||||
ObjCSelector selector,
|
||||
bool isInstanceMethod,
|
||||
llvm::TinyPtrVector<AbstractFunctionDecl *> &methods) {
|
||||
@@ -627,7 +627,7 @@ void ModuleFile::loadObjCMethods(
|
||||
return;
|
||||
}
|
||||
|
||||
std::string ownerName = Mangle::ASTMangler().mangleNominalType(classDecl);
|
||||
std::string ownerName = Mangle::ASTMangler().mangleNominalType(typeDecl);
|
||||
auto results = *known;
|
||||
for (const auto &result : results) {
|
||||
// If the method is the wrong kind (instance vs. class), skip it.
|
||||
|
||||
Reference in New Issue
Block a user