[Mangling] Remove "archetype" mangling node.

The mangler never produces a mangling here, the demangler doesn't
demangle anything here, the remangler punted or asserted, and type
reconstruction did something very wrong. Delete this code.
This commit is contained in:
Doug Gregor
2017-02-13 15:56:30 -08:00
parent 58f181a470
commit dca8553615
5 changed files with 0 additions and 63 deletions

View File

@@ -1370,15 +1370,6 @@ void Remangler::mangleConstrainedType(Node *node) {
}
}
void Remangler::mangleArchetype(Node *node) {
if (node->hasChildren()) {
assert(node->getNumChildren() == 1);
mangleProtocolListWithoutPrefix(node->begin()->get());
} else {
Out << '_';
}
}
void Remangler::mangleAssociatedType(Node *node) {
if (node->hasChildren()) {
assert(node->getNumChildren() == 1);