File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -545,19 +545,14 @@ class DemanglingForTypeRef
545
545
546
546
Demangle::NodePointer
547
547
visitBoundGenericTypeRef (const BoundGenericTypeRef *BG) {
548
- Node::Kind nodeKind;
549
548
Node::Kind genericNodeKind;
550
549
if (BG->isStruct ()) {
551
- nodeKind = Node::Kind::Structure;
552
550
genericNodeKind = Node::Kind::BoundGenericStructure;
553
551
} else if (BG->isEnum ()) {
554
- nodeKind = Node::Kind::Enum;
555
552
genericNodeKind = Node::Kind::BoundGenericEnum;
556
553
} else if (BG->isClass ()) {
557
- nodeKind = Node::Kind::Class;
558
554
genericNodeKind = Node::Kind::BoundGenericClass;
559
555
} else {
560
- nodeKind = Node::Kind::OtherNominalType;
561
556
genericNodeKind = Node::Kind::BoundGenericOtherNominalType;
562
557
}
563
558
auto unspecializedType = Dem.demangleType (BG->getMangledName ());
You can’t perform that action at this time.
0 commit comments