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:
@@ -5539,10 +5539,10 @@ static void collectInterestingNestedDeclarations(
|
||||
if (isLocal)
|
||||
return;
|
||||
|
||||
if (auto owningClass = func->getDeclContext()->getSelfClassDecl()) {
|
||||
if (auto owningType = func->getDeclContext()->getSelfNominalTypeDecl()) {
|
||||
if (func->isObjC()) {
|
||||
Mangle::ASTMangler mangler;
|
||||
std::string ownerName = mangler.mangleNominalType(owningClass);
|
||||
std::string ownerName = mangler.mangleNominalType(owningType);
|
||||
assert(!ownerName.empty() && "Mangled type came back empty!");
|
||||
|
||||
objcMethods[func->getObjCSelector()].push_back(
|
||||
|
||||
Reference in New Issue
Block a user