AST: Remove ArchetypeType::isSelfDerived()

This commit is contained in:
Slava Pestov
2016-09-06 16:01:55 -07:00
parent 414f45d8d2
commit aaf016c645
4 changed files with 21 additions and 40 deletions

View File

@@ -446,10 +446,8 @@ namespace {
if (implArchetype->hasNestedType(member->getName())) {
nestedType = implArchetype->getNestedType(member->getName());
archetype = nestedType.getValue()->getAs<ArchetypeType>();
} else if (implArchetype->isSelfDerived()) {
archetype = implArchetype;
}
ConstraintLocator *locator;
if (archetype) {
locator = CS.getConstraintLocator(