Collapse all indirect equivalents to ValueDecl::getBaseIdentifier

This commit is contained in:
Anthony Latsis
2020-03-24 11:49:33 +03:00
parent d0ae3ee580
commit c63b737e92
23 changed files with 44 additions and 44 deletions

View File

@@ -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;
}