Rename BoundNameAliasType to NameAliasType.

NameAliasType is dead! Long live NameAliasType!
This commit is contained in:
Doug Gregor
2018-03-25 21:03:57 -07:00
parent 0524741f6c
commit b2b69e8abf
29 changed files with 105 additions and 105 deletions

View File

@@ -455,8 +455,8 @@ static bool initDocEntityInfo(const TextEntity &Entity,
}
static const TypeDecl *getTypeDeclFromType(Type Ty) {
if (auto BoundAlias = dyn_cast<BoundNameAliasType>(Ty.getPointer()))
return BoundAlias->getDecl();
if (auto alias = dyn_cast<NameAliasType>(Ty.getPointer()))
return alias->getDecl();
return Ty->getAnyNominal();
}