mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Collapse all indirect equivalents to ValueDecl::getBaseIdentifier
This commit is contained in:
@@ -3870,7 +3870,7 @@ Optional<Identifier> constraints::getOperatorName(Expr *expr) {
|
||||
}
|
||||
|
||||
if (auto *FD = dyn_cast_or_null<AbstractFunctionDecl>(choice))
|
||||
return FD->getBaseName().getIdentifier();
|
||||
return FD->getBaseIdentifier();
|
||||
|
||||
return None;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user