Merge pull request #31224 from AnthonyLatsis/rename-getfullname-2

AST: Rename getFullName -> getName on ValueDecl & MissingMemberDecl
This commit is contained in:
Joe Groff
2020-04-24 12:51:28 -07:00
committed by GitHub
90 changed files with 457 additions and 462 deletions

View File

@@ -6394,7 +6394,7 @@ static ConstraintFix *validateInitializerRef(ConstraintSystem &cs,
auto &ctx = cs.getASTContext();
if (auto *DRE =
dyn_cast<DeclRefExpr>(baseExpr->getSemanticsProvidingExpr())) {
if (DRE->getDecl()->getFullName() == ctx.Id_self) {
if (DRE->getDecl()->getName() == ctx.Id_self) {
if (getType(DRE)->is<ArchetypeType>())
applicable = true;
}