mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Rename BoundNameAliasType to NameAliasType.
NameAliasType is dead! Long live NameAliasType!
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user